﻿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
16842	RedirectView (class based) query string format bug	Sławek Ehlert	nobody	"There is a problem with the new class based RedirectView with query_string = True and some unicode string in QUERY_STRING.
I made a sample of the error on bitbucket

https://bitbucket.org/slafs/redirectviewtest/src 

The error that I'm getting is :


{{{
 File ""/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py"" in get_redirect_url
 146.             return url % kwargs

 Exception Type: ValueError at /test/
 Exception Value: unsupported format character 'C' (0x43) at index 15
}}}


Basically the problem is when a QUERY_STRING contains some unicode chars that were previously encoded with urlencode (i.e. {{ request.GET.urlencode }} - like in my bitbucket example ) and for example polish ""ż"" is encoded as ""%C5"" which breaks the ""%"" formatting.

The relevant topic on Google Groups is here https://groups.google.com/d/topic/django-users/L0hkxuyUt4U/discussion

As Karen M. Tracey suggested I opened this ticket."	Bug	closed	Generic views	1.3	Normal	fixed		alexey.smolsky@… jamey@…	Ready for checkin	1	0	0	0	0	0
