From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from zorya.localdomain (dslb-094-216-062-054.pools.arcor-ip.net [94.216.62.54]) by mx.google.com with ESMTPS id 15sm457296fxm.0.2010.03.18.15.44.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 18 Mar 2010 15:44:22 -0700 (PDT) Received: by zorya.localdomain (Postfix, from userid 1000) id D54159FB68; Thu, 18 Mar 2010 23:44:32 +0100 (CET) From: Christian Neukirchen To: Rack Development Subject: [Muffin Cake] parse_query / normalize_params issues Date: Thu, 18 Mar 2010 23:44:32 +0100 Message-ID: <87wrx9i71r.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 18 Mar 2010 15:32:19 -0700 (PDT) From: Muffin Cake Subject: parse_query / normalize_params issues To: chneukirchen@gmail.com Hey, Rack is great. I found a small issue, that took me quite a while to uncover though: In parse_query and normalize_params there is a special case when a param starts and ends with " or '. And it removes them. What is the reasoning behind this? app?q="a" --> {"q"=>"a"} instead of {"q"=>"\"a\""} eg. compare to google, searching for "funny quotes" There is even a test case for this behaviour, which I found oddly surprising. Thanks!