yaws
yaws copied to clipboard
Stop redirect loops
Stop redirects if the server path equals redirect path. This stops redirect loops.
Looks like redirect_with_trailing_slash is failing.
Can we also add a new test for redirect loops?
Yes, I mixed up Prefix and Path when creating this change. Should be fixed in last push.
Wlil work on a test.
Finally using the correct path (the (#arg.req)#http_request.path), but the redirect is still failing. Needs more work.