reed%reedloden.com 99dde67a18 Bug 152688 - "doctor error message does not escape input" [p=reed r=mkanat]
git-svn-id: svn://10.0.0.236/trunk@214041 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-24 05:33:44 +00:00

63 lines
1.6 KiB
Cheetah

[%#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Doctor.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape
# are Copyright (C) 2002 Netscape Communications Corporation.
# All Rights Reserved.
#
# Contributor(s): Myk Melez <myk@mozilla.org>
# %]
[% DEFAULT
message = "An unknown error occurred."
title = "Error"
%]
<html>
<head>
<title>Doctor - [% title %]</title>
<link rel="stylesheet" href="doctor.css" type="text/css"></link>
</head>
<body>
<h1>Doctor - [% title %]</h1>
<p>
Doctor couldn't process your request because of the following problem:
</p>
<p><big><b>[% message FILTER html %]</b></big></p>
<p>
The problem occurred when Doctor tried to execute the CVS command:
</p>
<p>
<em>[% cvs_command FILTER html %]</em>
</p>
<p>
CVS returned the error code <em>[% cvs_error_code %]</em> and the message:
</p>
<pre>[% cvs_error_message FILTER html %]</pre>
<p>
Please go back and try again.
</p>
</body>
</html>