Re: [pgAdmin][RM5401] Object name does not displayed in search objectif object name contains special characters - Mailing list pgadmin-hackers

From Akshay Joshi
Subject Re: [pgAdmin][RM5401] Object name does not displayed in search objectif object name contains special characters
Date
Msg-id CANxoLDfuKBycpOjkG1Cdz=NMfTbF5ocC2c946tYnkM9o5MT=7g@mail.gmail.com
Whole thread Raw
In response to [pgAdmin][RM5401] Object name does not displayed in search object ifobject name contains special characters  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
List pgadmin-hackers
Thanks, patch applied.

On Mon, Apr 20, 2020 at 1:49 PM Aditya Toshniwal <aditya.toshniwal@enterprisedb.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

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: [pgAdmin][RM5415] Query tool context menu on collection nodes not working
Next
From: Akshay Joshi
Date:
Subject: Re: [pgAdmin][RM4946] Issue with temporary tables on commit drop as.