Bug #117087 | Unable to escape a parameter marker (`%s`) used in a query that should not be treated as a parameter marker | ||
---|---|---|---|
Submitted: | 31 Dec 2024 16:59 | Modified: | 11 Mar 0:55 |
Reporter: | Thomas Rambø (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / Python | Severity: | S3 (Non-critical) |
Version: | 9.1.0 | OS: | Linux (Arch Linux) |
Assigned to: | CPU Architecture: | x86 |
[31 Dec 2024 16:59]
Thomas Rambø
[6 Jan 8:29]
MySQL Verification Team
Hello Thomas Rambø, Thank you for the report and feedback. regards, Umesh
[10 Mar 12:53]
Souma Kanti Ghosh
Posted by developer: Hello Thomas, Thanks for raising this bug and your suggestion helped a lot while fixing it too. Cheers, Souma Kanti Ghosh
[11 Mar 0:55]
Daniel So
Posted by developer: Added the following entry to the Connector/Python 9.3.0 changelog: "It was not possible to escape the string "%s" used in a query when it should not be treated as a parameter marker. This patch adds proper regular expression checks to escape the "%s" parameter marker when "%%s" is used in the query."