From: "Iñaki Baz Castillo" <ibc@aliax.net>
To: rack-devel@googlegroups.com
Subject: mod_rack hex-unescapes PATH_INFO
Date: Mon, 21 Dec 2009 23:55:31 +0100 [thread overview]
Message-ID: <200912212355.31817.ibc@aliax.net> (raw)
Hi, I'm tryining Rack under Apache2 mod_rack module (Phusion Passenger).
I've realized that Apache2 automatically unescapes hexadecimal symbols in the
request URI so they arrive escaped to the Rack application.
Most probably this is an appropriate behavior but it breaks my Rack
application as I validate the path info specting just ASCII symbols and not
UTF-8 multibyte symbols. And after my validation process I unescape the path
info by my self.
So, is there any way to force Apache2 not to unescape the request uri / path
info?
Thanks a lot.
--
Iñaki Baz Castillo <ibc@aliax.net>
reply other threads:[~2009-12-21 22:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://groups.google.com/group/rack-devel
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200912212355.31817.ibc@aliax.net \
--to=rack-devel@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).