[pgAdmin4][Patch]: SYNONYM issue if use all special characters as name - Mailing list pgadmin-hackers

From Surinder Kumar
Subject [pgAdmin4][Patch]: SYNONYM issue if use all special characters as name
Date
Msg-id CAM5-9D-zLCt6bBz1UvNpbd9R3ajNrxZNmxH=5j2QwZs0J1fQQg@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin4][Patch]: SYNONYM issue if use all special characters as name
List pgadmin-hackers
Hi

Issue:
If synonym name contains special characters, the request url is be '404 not found'.
i.e. It doesn't hit at 'sql' method of synonym.

Solution:
If URL has an identifier containing slash character '/' into the URI, then set param type to path.
like /<path: int>.
Because if param name contains '/' in synonym name, it gets confused and wrong route is formed.

Please find attached patch and review.

Thanks,
Surinder Kumar
Attachment

pgadmin-hackers by date:

Previous
From: Khushboo Vashi
Date:
Subject: Re: [pgAdmin4][Patch]: Fixed RM 1603 & RM 1220
Next
From: Dave Page
Date:
Subject: Re: RM1849: Auto-generating security keys