[Mongrel] HTTP parse error due to an extra percent sign

Robbie Allen lists at ruby-forum.com
Wed Jan 7 15:28:42 EST 2009


So how do you catch it?  All of those errors are not very friendly and 
completely bypass the site look and feel.

See these:

http://www.google.com/%
http://www.yahoo.com/%


Robbie


Stephan Wehner wrote:
> On Wed, Jan 7, 2009 at 11:44 AM, Robbie Allen <lists at ruby-forum.com> 
> wrote:
>> but is there anyway to have mongrel ignore lone percent signs?  Or
>> perhaps a Nginx rewrite rule that will encode extraneous percent signs?
> 
> Out of curiousity, why does mongrel's handling of this case bother you?
> Looks like entirely standard behaviour, see
> 
> http://groklaw.net/%
> http://slashdot.org/%
> http://w3c.org/%
> 
> (All produce status 400)
> 
> 
> Stephan

-- 
Posted via http://www.ruby-forum.com/.


More information about the Mongrel-users mailing list