Skip to content

🐛 Restore original superglobals after Request::capture()#525

Merged
retlehs merged 1 commit into
mainfrom
fix/restore-original-superglobals-after-request-capture
Mar 23, 2026
Merged

🐛 Restore original superglobals after Request::capture()#525
retlehs merged 1 commit into
mainfrom
fix/restore-original-superglobals-after-request-capture

Conversation

@retlehs

@retlehs retlehs commented Mar 23, 2026

Copy link
Copy Markdown
Member

Summary

Closes #524

Instead of re-running wp_magic_quotes() after capturing the Laravel
request, save and restore the exact original superglobals. This
preserves the #408 fix (clean request data in Laravel) while avoiding
subtle re-slash drift for payloads with pre-existing escape sequences.

Refs #524

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@retlehs retlehs merged commit d13a937 into main Mar 23, 2026
6 checks passed
@retlehs retlehs deleted the fix/restore-original-superglobals-after-request-capture branch March 23, 2026 14:57
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.

Json string is parsed wrong...

2 participants