Skip to content

Commit

Permalink
Merge branch '2867-unicode-error-url-for'
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Aug 16, 2012
2 parents f0da258 + c73b6f0 commit 85df011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/controllers/storage.py
Expand Up @@ -187,7 +187,7 @@ def file(self, label):
fapp = FileApp(filepath, headers=None, **headers)
return fapp(request.environ, self.start_response)
else:
h.redirect_to(file_url)
h.redirect_to(file_url.encode('ascii','ignore'))


class StorageAPIController(BaseController):
Expand Down

0 comments on commit 85df011

Please sign in to comment.