From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.142.191.1 with SMTP id o1cs483156wff; Mon, 21 Dec 2009 14:55:47 -0800 (PST) Received: from mr.google.com ([10.91.93.2]) by 10.91.93.2 with SMTP id v2mr248492agl.19.1261436145573 (num_hops = 1); Mon, 21 Dec 2009 14:55:45 -0800 (PST) Received: by 10.91.93.2 with SMTP id v2mr36837agl.19.1261436144185; Mon, 21 Dec 2009 14:55:44 -0800 (PST) X-BeenThere: rack-devel@googlegroups.com Received: by 10.213.77.68 with SMTP id f4ls207450ebk.2.p; Mon, 21 Dec 2009 14:55:42 -0800 (PST) Received: by 10.213.0.197 with SMTP id 5mr959016ebc.21.1261436136953; Mon, 21 Dec 2009 14:55:36 -0800 (PST) Received: by 10.213.0.197 with SMTP id 5mr959015ebc.21.1261436136930; Mon, 21 Dec 2009 14:55:36 -0800 (PST) Return-Path: Received: from mail-ew0-f228.google.com (mail-ew0-f228.google.com [209.85.219.228]) by gmr-mx.google.com with ESMTP id 12si768116ewy.10.2009.12.21.14.55.36; Mon, 21 Dec 2009 14:55:36 -0800 (PST) Received-SPF: neutral (google.com: 209.85.219.228 is neither permitted nor denied by best guess record for domain of ibc@aliax.net) client-ip=209.85.219.228; Received: by ewy28 with SMTP id 28so7028766ewy.37 for ; Mon, 21 Dec 2009 14:55:36 -0800 (PST) Received: by 10.213.99.134 with SMTP id u6mr14472087ebn.66.1261436136515; Mon, 21 Dec 2009 14:55:36 -0800 (PST) Return-Path: Received: from ibc-laptop.localnet ([212.230.46.89]) by mx.google.com with ESMTPS id 16sm4141778ewy.2.2009.12.21.14.55.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 21 Dec 2009 14:55:35 -0800 (PST) From: =?utf-8?q?I=C3=B1aki_Baz_Castillo?= To: rack-devel@googlegroups.com Subject: mod_rack hex-unescapes PATH_INFO Date: Mon, 21 Dec 2009 23:55:31 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.28-16-generic; KDE/4.3.2; x86_64; ; ) MIME-Version: 1.0 Message-Id: <200912212355.31817.ibc@aliax.net> X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.219.228 is neither permitted nor denied by best guess record for domain of ibc@aliax.net) smtp.mail=ibc@aliax.net X-Original-Sender: ibc@aliax.net Reply-To: rack-devel@googlegroups.com Precedence: list Mailing-list: list rack-devel@googlegroups.com; contact rack-devel+owners@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: X-Thread-Url: http://groups.google.com/group/rack-devel/t/d16abdccdb9026e8 X-Message-Url: http://groups.google.com/group/rack-devel/msg/7d9687137653463a Sender: rack-devel@googlegroups.com List-Unsubscribe: , List-Subscribe: , Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, I'm tryining Rack under Apache2 mod_rack module (Phusion Passenger). I've realized that Apache2 automatically unescapes hexadecimal symbols in t= he=20 request URI so they arrive escaped to the Rack application. Most probably this is an appropriate behavior but it breaks my Rack=20 application as I validate the path info specting just ASCII symbols and not= =20 UTF-8 multibyte symbols. And after my validation process I unescape the pat= h=20 info by my self. So, is there any way to force Apache2 not to unescape the request uri / pat= h=20 info? Thanks a lot. =2D-=20 I=C3=B1aki Baz Castillo