﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
15718	Django unquotes urls and not able to distinguish %2F and /	Fedor Tyurin	nobody	"I've found that in basehttp.py there is a line
{{{
env['PATH_INFO'] = urllib.unquote(path)
}}}
It replaces all URL-escaped symbols with original symbols. This leads to a situation that you can not properly handle urls with quoted symbols in your urls.py. For example url http://example.com/blah%2Fblah%2Fblah/ will be matched by regexp ^/(\w+)/(\w+)/(\w+)/$

Under apache with mod_wsgi this seems to lead to even more interesting problem. When %2F is present in URL, request is not handled by django and user gets 404 error directly from apache. Try http://www.djangoproject.com/%2F
"	Bug	closed	Core (Other)	1.2	Normal	wontfix	urls, url resolver, unquote, %2F		Unreviewed	0	0	0	0	0	0
