pruvious icon indicating copy to clipboard operation
pruvious copied to clipboard

URL redirection

Open s075631 opened this issue 3 months ago • 4 comments

Hello, I encountered a problem with URL redirection: For example, the domain name //www.google.com will be redirected to this URL. How can this be resolved

s075631 avatar Sep 25 '25 14:09 s075631

Hi! Could you please provide all the redirection parameters or a screenshot of them?

murisceman avatar Sep 25 '25 14:09 murisceman

I'm sorry I didn't take a screenshot. Starting localhost: port locally doesn't have this issue. But for example, accessing www.xxx. com/Google. com/will force you to jump to https://www.google.com

s075631 avatar Sep 26 '25 08:09 s075631

Just to be clear, is the problem in the redirects collection or somewhere else (e.g., proxies)? If it's in the redirects, can you provide all field inputs so I can try to reproduce the issue? Example:

Image

murisceman avatar Sep 26 '25 11:09 murisceman

I don't have any configuration here. My current solution is to solve the URL redirection problem in nginx by matching double slashes.

if ($request_uri ~ "^//") { return 403; }

Image

s075631 avatar Sep 27 '25 01:09 s075631