﻿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
5308	[Patch] Redirect from pages that need login and have Unicode URL causes error	Julian Bez	nobody	"How to repeat:

have a page that has encoded Unicode in URL, like http://www.example.com/gie%C3%9Fen/xyz/.
Make that page available to authenticated users only.
Try browsing to it when not logged in.

I get an error. On other pages, where there's a 'normal' URL, not.

{{{
Traceback (most recent call last):

 File ""/usr/local/lib/python2.4/site-packages/django/core/handlers/base.py"", line 77, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File ""/usr/local/lib/python2.4/site-packages/django/contrib/auth/decorators.py"", line 18, in _checklogin
   return HttpResponseRedirect('%s?%s=%s' % (login_url, REDIRECT_FIELD_NAME, quote(request.get_full_path())))

 File ""/usr/local/lib/python2.4/urllib.py"", line 1117, in quote
   res = map(safe_map.__getitem__, s)

KeyError: u'\xdf'
}}}
"		closed	Contrib apps	dev		fixed	unicode url login auth decorator checklogin redirect quote sprintsept14		Ready for checkin	1	0	0	0	0	0
