Skip to content

Commit

Permalink
Fix #2328 by enabling URL quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
bzar committed Mar 6, 2015
1 parent 805d5a7 commit 8f85ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/config/middleware.py
Expand Up @@ -218,7 +218,7 @@ def __call__(self, environ, start_response):

if qs:
# sort out weird encodings
#qs = urllib.quote(qs, '')
qs = urllib.quote(qs, '')
environ['CKAN_CURRENT_URL'] = '%s?%s' % (path_info, qs)
else:
environ['CKAN_CURRENT_URL'] = path_info
Expand Down

0 comments on commit 8f85ef4

Please sign in to comment.