diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2011-02-28 14:43:31 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2011-03-08 12:41:18 +0800 |
commit | 5d56a58406cbc06012d1f1c994be4b5118ecda9c (patch) | |
tree | 9d19d32c2f55ea5f412e8db66497da1412ac1c41 /templates | |
parent | 14bb22b8de1b8eee9102159a34d8e2218a8a2bd6 (diff) | |
download | patchwork-5d56a58406cbc06012d1f1c994be4b5118ecda9c.tar.bz2 patchwork-5d56a58406cbc06012d1f1c994be4b5118ecda9c.tar.xz |
filters: quote param names and values when constructing querystrings
Use urllib.quote to sanitise parameter names and values; prevents
escaped ampersands in the input qs from appearing unescaped in the
link output.
Add a testcase for the unescaped qs fragments
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'templates')
0 files changed, 0 insertions, 0 deletions