Actually what I'm asking is a read-only string to contain the raw
url :-D What I've understood is that most web systems have eventually
added a configuration option to disable slash decoding (= allow
encoded slashes and pass them thru unmodified) or a way to at least
access the raw url. Catalyst CGI engine has "use_request_uri_for_path"
to bypass decoding. Apache has "AllowEncodedSlashes" to bypass the
basic security check. Tomcat has
org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH. PSGI has
REQUEST_URI that is "the undecoded, raw request URL line" adding "this
value SHOULD NOT be decoded by servers".
Actually if I run Mojolicious with plackup what I get is the raw uri
at $self->req->env->{REQUEST_URI}. So I actually have two workarounds
now: do the hack-postprocessing of uri as explained in my previous
post or decide to run Mojolicious via PSGI at least in the production.
By the way, running Mojolicious on PSGI is both easy and cool and the
documentation gets it right: "Mojolicious applications are
ridiculously simple to deploy with Plack".