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

From Aditya Toshniwal
Subject [pgAdmin][RM5401] Object name does not displayed in search object ifobject name contains special characters
Date
Msg-id CAM9w-_k=_GGjKwiS4SPfcyFeJDMKF_nTHegpq+6+rcLX_9gLdQ@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin][RM5401] Object name does not displayed in search objectif object name contains special characters  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
List pgadmin-hackers
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"
Attachment

pgadmin-hackers by date:

Previous
From: Aditya Toshniwal
Date:
Subject: Re: [pgAdmin][RM5396] Unable to locate this object in the browser insearch objects
Next
From: Aditya Toshniwal
Date:
Subject: [pgAdmin][RM5415] Query tool context menu on collection nodes not working