URI breaks on some redirects
-
Any chance you could encode the redirect link with base64.
There is this problem with some Apache server configs when some codes in the URI are refused, for example: %2F or %252F.
For example if the sessions expires, I am sent to frontend to login with TML and then back on redirect, something like this:
https://example.com/login/?redirect_to=https%253A%252F%252Fexample.com%252Fgoo%252Fwp-admin%252Fedit.php%253Fpost_type%253Dpage&reauth=1
Which eventually results to a big 404 that even the server can’t handle (it bypasses all other custom error control):
https://example.com/log-in/https%3A%2F%2Fexample.com2Fwp%2Fwp-admin%2Fedit.php%3Fpost_type%3Dpage
This will bring a server 404.
So basically I’m looking for encoding redirects. Is this possible?
- The topic ‘URI breaks on some redirects’ is closed to new replies.