You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Passing any search parameter to a root endpoint will throw a TypeError
For example:
https://api.example.com/?foo=bar
"PHP message: PHP Warning: Undefined array key "path" in /reflect/src/request/Router.php on line 64; PHP message: PHP Fatal error: Uncaught TypeError: Reflect\Request\Router::get_endpoint(): Return value must be of type string, null returned in /reflect/src/request/Router.php:66
Stack trace:
#0 /reflect/src/request/Router.php(35): Reflect\Request\Router::get_endpoint()
#1 /reflect/public/index.php(11): Reflect\Request\Router->__construct()
#2 {main}
thrown in /reflect/src/request/Router.php on line 66" while reading response header from upstream, client: -, server: api.example.com, request: "GET /?foo=bar HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.3-fpm.sock:", host: "api.example.com"
The text was updated successfully, but these errors were encountered:
Passing any search parameter to a root endpoint will throw a
TypeError
For example:
The text was updated successfully, but these errors were encountered: