Query string regression on 12.x
Author: denydiasCreated Sep 29, 2026Updated Sep 30, 2026
Laravel Version
12.6.3
PHP Version
8.5.11
Database Driver & Version
MariaDB 12.3.3 on Linux 7.2.8 64bit
Description
Re #61499 and #61610. Same issue:
After upgrading to 12.69.2 tests containing assertions with query strings fails as ? gets replaced by its encoded form %3F. Note this ? is the query string delimiter itself (e.g. /search?q=*0*), not a string in the query string parameter (e.g. /search?q=*0*?). Other special characters are also encoded (e.g. & becomes &).
12.6.3 was released today and the behavior persists.
If the fix for 13.x in #61610 is not going to be backported to 12.x, please just tell us. I kindly ask not to close this issue without a yes or no for that matter. Thank you.
Steps To Reproduce
See ##61499 for steps to reproduce.
Source: laravel/framework