Fix unicode url redirects
This commit is contained in:
parent
cc31081f1c
commit
487f5cb8c2
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ class UiRequest(object):
|
||||||
|
|
||||||
# Redirect to an url
|
# Redirect to an url
|
||||||
def actionRedirect(self, url):
|
def actionRedirect(self, url):
|
||||||
self.start_response('301 Redirect', [('Location', url)])
|
self.start_response('301 Redirect', [('Location', str(url))])
|
||||||
yield "Location changed: %s" % url
|
yield "Location changed: %s" % url
|
||||||
|
|
||||||
def actionIndex(self):
|
def actionIndex(self):
|
||||||
|
|
Loading…
Reference in a new issue