﻿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
9224	request.get_full_path() raise string encoding error when user submit a non-ascii url.	flytwokites	nobody	"When a user try submit a url with utf-8 characters like ""http://www.django.com/submit/?url=xxx&title=中文字符"", and app uses request.get_full_path(), an error will raise, and admins will receive a 500 error email.
In modpython, the implementation code is:
{{{
    def get_full_path(self):
        return '%s%s' % (self.path, self._req.args and ('?' + self._req.args) or '')
}}}
and currently i fix it use this code:
{{{
def get_full_path(self):
    from django.utils.encoding import iri_to_uri
    return '%s%s' % (smart_str(self.path), self._req.args and ('?' + iri_to_uri(self._req.args)) or '')
}}}
"		closed	HTTP handling	1.0		fixed	get_full_path		Unreviewed	0	0	0	0	0	0
