Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDebug ConnectionPanel: Like parameter is double escaped #189
Comments
|
Can you fix it and send PR? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When LIKE is used then the value is escaped once via ISupplementalDriver and passe as parameter of query. Then parameter value (already escaped) is escape again in connection panel sql dump here:
https://github.com/nette/database/blob/master/src/Database/Helpers.php#L122
That results in printing double escaped parameter value and this query (with its parameters) is not that query that went to database.
I hope you understand what I mean.