Fix unicode url redirects

This commit is contained in:
shortcutme 2017-05-11 17:56:01 +02:00
parent cc31081f1c
commit 487f5cb8c2
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -183,7 +183,7 @@ class UiRequest(object):
# Redirect to an 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
def actionIndex(self):