I use a 3rd party authentication in my web app that returns authorization code via query params back to my app.
https://mysite.com/redirect?code=someauthcode
However, the code contains a dot sometimes and netlify throws that page is not found. Everything works fine when the code doesn’t contain a dot or I try it locally.
It’s ok when the URL looks like this: https://mysite.com/redirect?code=asd8SADadiad9
And it’s page not found when URL is like this: https://mysite.com/redirect?code=adad.14aEad
How should I handle this redirect from an external site when I do not have any control over what’s returned? Why is the netlify does not capture a query param with a dot?
Would you happen to have an x-nf-request-id where this is failing? A reproduction of this would be super handy too, for us to pass on to our traffic team. Thanks!
Thanks ever so much for that! I’ve taken a look at the site and there’s no functions, and no redirects.
There is also no page at https://[yourdomain].com/redirect so I’m unsure on how anything is loading.
On any Netlify site, you can test that query parameters with dots are handled OK. For example, https://netlify.rodeo/?test=yes.no shows test: yes.no in my browser’s dev tools, and loads correctly.
Would you be able to elaborate on how the URL is used, or parsed to the external site?