-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The issue lies on the fact that a binary MySQL string (`x"..."`) appears before a regular MySQL string (`"..."`). This trips the sanitiser, which recognises the leading `x` as a literal value type indicator. After the literal value type indicator state is over, the sanitiser forgets that it's inside a VALUES statement. Fix this by removing the literal value type indicator state and keeping the state as-is when encountering the literal value type indicator token.
- Loading branch information
Showing
1 changed file
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters