Infinite Loop in challenge when hash in url and query string

Hi,

When an url contain a hash and a query string ( example : https://gitlab.com/users/#/sign_in/?test ) the challenge page do an infinite loop when redirecting.
I try disable normalization without luck.

That URL contains both a fragment identifier (#) and a query string (?). Everything after the # is client side only, so the query parameter never gets sent to the server. Whoever constructed the URL needs to check what they were doing.

Thanks for your answer.
When using a SPA framework like Angular or VueJS with HashLocationStrategy and query parameters on routing, the url is constructed like this : https://example.com/app/#/exampleroute?queryParams1=sample&queryParams2=sample2 that cause the infinite loop with Cloudflare.
Indeed the query string is not sent to server but they are only used by the framework on client side.

Thanks for the report, I am able to reproduce the issue and we will release a fix.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.