From 280d44cfd50a082fae403bbcc181a3ee2628482a Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Tue, 4 Jan 2005 04:55:54 +0000 Subject: [PATCH] Bug 272620: avoid XSS problem with internal error messages. Patch by gerv; r=justdave; a=justdave. --- Bugzilla/Error.pm | 5 ++++- template/en/default/global/code-error.html.tmpl | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Bugzilla/Error.pm b/Bugzilla/Error.pm index e511a575c6..23e7deee9a 100644 --- a/Bugzilla/Error.pm +++ b/Bugzilla/Error.pm @@ -79,7 +79,10 @@ sub ThrowTemplateError { time this message appeared.
Template->process() failed twice.
diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl
index cbca4f1d14..91acc8f064 100644
--- a/template/en/default/global/code-error.html.tmpl
+++ b/template/en/default/global/code-error.html.tmpl
@@ -251,7 +251,10 @@
the time this message appeared.