throw on null bytes / resolve GH-13952#18320
Closed
divinity76 wants to merge 8 commits intophp:masterfrom
Closed
Conversation
fix a corruption issue where PDO::quote for SQLite would silently truncate strings with null bytes in them, by throwing. resolve phpGH-13952 close phpGH-13972
ndossche
requested changes
Apr 13, 2025
ndossche
requested changes
Apr 13, 2025
ndossche
approved these changes
Apr 13, 2025
Member
ndossche
left a comment
There was a problem hiding this comment.
Waiting for @SakiTakamachi 's final approval, but this LGTM
SakiTakamachi
approved these changes
Apr 13, 2025
Contributor
Author
|
maybe sqlstate quoting ansi SQL:2011 draft at https://web.archive.org/web/20230525220603if_/https://www.wiscorp.com/sql20nn.zip or maybe 39000
|
Member
|
In my view, none of them seem appropriate. Also, I’m not sure whether this can be referred to as an “external routine.” |
Member
|
Merged :) |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix a corruption issue where PDO::quote for SQLite would silently truncate strings with null bytes in them,
by throwing.
resolve GH-13952
close GH-13972