From 94e43ad559cf6e53b39730d3f4050920ffc69ae3 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Wed, 16 Oct 2013 19:15:28 +0200 Subject: Bug 924802: (CVE-2013-1742) [SECURITY] (XSS) "id" and "sortkey" are not sanitized when editing flag types if categoryAction-foo is set r=dkl a=glob --- template/en/default/admin/flag-type/edit.html.tmpl | 6 +++--- template/en/default/filterexceptions.pl | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'template') diff --git a/template/en/default/admin/flag-type/edit.html.tmpl b/template/en/default/admin/flag-type/edit.html.tmpl index b9ad2a535..2e9771384 100644 --- a/template/en/default/admin/flag-type/edit.html.tmpl +++ b/template/en/default/admin/flag-type/edit.html.tmpl @@ -36,7 +36,7 @@
- + @@ -133,8 +133,8 @@ this type will be sorted when displayed to users in a list; ignore if you don't care what order the types appear in or if you want them to appear in alphabetical order.
- + diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl index 36b9032dd..239b6828c 100644 --- a/template/en/default/filterexceptions.pl +++ b/template/en/default/filterexceptions.pl @@ -386,8 +386,6 @@ ], 'admin/flag-type/edit.html.tmpl' => [ - 'type.id', - 'type.sortkey || 0', 'selname', ], -- cgit v1.2.3-24-g4f1b