Skip to content

Merge branch '12.x' into 13.x - #61228

Merged
crynobone merged 8 commits into
13.xfrom
13/merge-12
Aug 18, 2026
Merged

Merge branch '12.x' into 13.x#61228
crynobone merged 8 commits into
13.xfrom
13/merge-12

Conversation

@crynobone

Copy link
Copy Markdown
Member

No description provided.

taylorotwell and others added 8 commits August 11, 2026 13:59
…61145)

temporary upload urls

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
#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>
@crynobone
crynobone merged commit faf45dd into 13.x Aug 18, 2026
62 of 65 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants