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:
Which eventually results to a big 404 that even the server can't handle (it bypasses all other custom error control):
This will bring a server 404.
So basically I'm looking for encoding redirects. Is this possible?