rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / code / Atom feed
* mod_rack hex-unescapes PATH_INFO
@ 2009-12-21 22:55 Iñaki Baz Castillo
  0 siblings, 0 replies; only message in thread
From: Iñaki Baz Castillo @ 2009-12-21 22:55 UTC (permalink / raw)
  To: rack-devel

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 

Thanks a lot.

Iñaki Baz Castillo <ibc@aliax.net>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-21 22:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-21 22:55 mod_rack hex-unescapes PATH_INFO Iñaki Baz Castillo

Code repositories for project(s) associated with this inbox:


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).