You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is partially fixed in commit 84bd58f but I am not so sure how to handle the ? chars at this point as they are being converted as though they are PDO placeholders.
I will look through the code and see if this can be solved.
This will require a change to the code to ensure that question marks enclosed in quotes (") and apostrophes (') are not replaced with %s for the vsprintf() command to come along and process. PDO will only replace question marks outside of quotes so this logging function should emulate this.
Issue
When logging is on:
Queries containing the "%":
Raise PHP warning:
Because % must be escaped in the query for vsprintf.
Fix
In idiorm.php, line 264:
should be:
This fixes the problem for the "%" chars.
Second issue
The problem remains with the "?" char inside the query:
vsprintf raises the same error.
— Ben
The text was updated successfully, but these errors were encountered: