﻿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
19468	django doesn't encode request.path correctly in python3	aliva	Aymeric Augustin	"when I visit urls which contain non ascii charecters (like persian or arabic)
request.path is not right

this i my urls.py
{{{
from django.conf.urls import patterns, include, url
from django.http.response import HttpResponse

def view(request):
    print (request.path)
    return HttpResponse(request.path)

urlpatterns = patterns('',
    url(r'^', view),
)
}}}
for example I visit this url


{{{ 
http://127.0.0.1:8000/سلام
}}}

in the view function request.path is:

{{{
/Ø³ÙØ§Ù
}}}

but it should be:

{{{
/سلام
}}}


also this problem happens when I want to handle urls with regex groups in urls.py (the charecter groups are wrong too)

I don't have any of those problems on python2 - every thing works ok there!

* System:
  * debian - sid
  * Python 3.2.3
  * django - master"	Bug	closed	Python 3	dev	Release blocker	fixed		aliva	Accepted	1	0	0	1	0	0
