Open cubiclabs opened 5 months ago
Doesn't $uri
exclude the query string? https://stackoverflow.com/questions/48708361/nginx-request-uri-vs-uri
Looking at the docs it says that the value of $uri can change during the request: https://nginx.org/en/docs/http/ngx_http_core_module.html#uri
For context, I am using Nginx v 1.22.1 and I have some rewrites in place that are essentially the same as the ColdBox one here: https://coldbox.ortusbooks.com/the-basics/routing/requirements/rewrite-rules#nginx
I wonder if this is affecting things in some way causing the query string to get included in the $uri and subsequently the path_info?
The current regex for path_info includes the query string if one is present.
path_info should not include the query string and the regex tweak excludes it.