]> git.ipfire.org Git - thirdparty/patchwork.git/commit
filters: Escape State names when generating selector HTML
authorAndrew Donnellan <ajd@linux.ibm.com>
Fri, 5 Jul 2019 03:27:41 +0000 (13:27 +1000)
committerDaniel Axtens <dja@axtens.net>
Fri, 5 Jul 2019 04:50:21 +0000 (14:50 +1000)
commitb3fa0c402e060622a5ed539a465d2fa98b1d2e13
tree8f3790738f2e99aff427f148d11bbc052395fab2
parentdf80e690bcc32d483875dcb36b488764c89ec9b6
filters: Escape State names when generating selector HTML

States with names containing special characters are not correctly escaped
when generating the select list. Use escape() to fix this.

Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
patchwork/filters.py