zedshaw/mongrel2 — Issue #85: URI's with ; are routed to handlers truncated
Author: gone
Created: 2011-12-04 06:47:46+00:00
State: open

A request made for http://localhost:6767/asdf;zxcv comes out of mongrel2 as

34f9ceee-cd52-4b7f-b197-88bf2f0ec378 26 /asdf 562:{"PATH":"/asdf","x-forwarded-for":"127.0.0.1","accept-language":"en-US,en;q=0.8","accept-encoding":"gzip,deflate,sdch","connection":"keep-alive","accept-charset":"ISO-8859-1,utf-8;q=0.7,*;q=0.3","accept":"application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.23 (KHTML, like Gecko) Chrome/11.0.686.3 Safari/534.23","host":"localhost:6767","cookie":"csrftoken=3688f60fec4b032fafc9d320a2e19456","METHOD":"GET","VERSION":"HTTP/1.1","URI":"/asdf;zxcv","PATTERN":"/"},0:,

The URI header is right.

The route looks like

brubeck_host = Host(
name="localhost",
routes={
'/media/': media_dir,
'/': brubeck_handler})