Merge branch '12.x' into 13.x - #61228
Merged
Merged
Conversation
#61146) Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
…#61192) * [13.x] Escape single quotes in Postgres JSON path attributes `PostgresGrammar::wrapJsonPathAttributes()` interpolates JSON path attributes into single quoted SQL string literals without escaping single quotes, so a quote in a JSON path terminates the literal early. The equivalent path is already escaped for every other driver by `CompilesJsonPaths::wrapJsonPath()` (#28160), and within this same grammar by `compileJsonContainsKey()`, which uses `str_replace("'", "''", ...)`. `compileJsonUpdateColumn()` delimits path attributes with double quotes but still nests the result inside a `'{...}'` literal, so single quotes are escaped regardless of the configured delimiter. * Update PostgresGrammar.php --------- Co-authored-by: Anuragh K.P <36616831+kpanuragh@users.noreply.github.com> Co-authored-by: Taylor Otwell <taylor@laravel.com>
* Capture exception preview * Capture job name * Remove redundant encoding modification * Fix tests * Formatting * Remove truncation * Restore improved truncation * Fix test on 8.2 * Fix test
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
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.
No description provided.