Package version
9.1.0
Describe the bug
When forwardQueryString is enabled globally, the redirect() method forwards the query parameters even when redirect is called with forwardQueryString set to false.
The reproduction repo contains the test that will fail in the above-mentioned scenario. This repo was created to match the specification of PERFECT ISSUE listed under Reporting Bugs.
Please let me know if a full reproduction is needed.
Reproduction repo
https://github.com/adonisjs/http-server/pull/126/changes
Package version
9.1.0
Describe the bug
When
forwardQueryStringis enabled globally, theredirect()method forwards the query parameters even whenredirectis called withforwardQueryStringset to false.The reproduction repo contains the test that will fail in the above-mentioned scenario. This repo was created to match the specification of PERFECT ISSUE listed under Reporting Bugs.
Please let me know if a full reproduction is needed.
Reproduction repo
https://github.com/adonisjs/http-server/pull/126/changes