X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/f3fa23854f0192e9bcf5bf6ee2bd731f2f003900..d965cdafc9a2c4ea76938edd0f4ae9b5f14bdc1f:/forum/utils/pagination.py diff --git a/forum/utils/pagination.py b/forum/utils/pagination.py index a18bb32..67e2272 100644 --- a/forum/utils/pagination.py +++ b/forum/utils/pagination.py @@ -17,7 +17,7 @@ def generate_uri(querydict, exclude=None): for k, l in querydict.iterlists(): if (not exclude) or (not k in exclude): - all += ["%s=%s" % (k, escape(strip_tags(v))) for v in l] + all += ["%s=%s" % (k, escape(urlquote(strip_tags(v)))) for v in l] return "&".join(all)