Re: [pgAdmin][RM5401] Object name does not displayed in search object if object name contains special characters

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin][RM5401] Object name does not displayed in search object if object name contains special characters
Date: 2020-04-20 13:48:34
Message-ID: CANxoLDfuKBycpOjkG1Cdz=NMfTbF5ocC2c946tYnkM9o5MT=7g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks, patch applied.

On Mon, Apr 20, 2020 at 1:49 PM Aditya Toshniwal <
aditya(dot)toshniwal(at)enterprisedb(dot)com> wrote:

> Hi Hackers,
>
> Attached is the patch to fix the issue in search objects where object name
> does not display correctly if it html characters.
> Code is changed to escape the HTML chars in Object name and path. Code is
> also changed to escape single quotes in the like clause of the search query.
>
> Please review.
>
> --
> Thanks and Regards,
> Aditya Toshniwal
> pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
> "Don't Complain about Heat, Plant a TREE"
>

--
*Thanks & Regards*
*Akshay Joshi*

*Sr. Software Architect*
*EnterpriseDB Software India Private Limited*
*Mobile: +91 976-788-8246*

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2020-04-20 13:48:43 Re: [pgAdmin][RM4946] Issue with temporary tables on commit drop as.
Previous Message Akshay Joshi 2020-04-20 13:48:24 Re: [pgAdmin][RM5415] Query tool context menu on collection nodes not working