Commit 5379491e authored by Shane Hathaway's avatar Shane Hathaway

Error messages are often printed that contain angle brackets,

causing browsers to interpret part of the text of the error
message as a tag.  This change corrects standard_error_message
by using html_quote.
parent b0454782
...@@ -85,8 +85,8 @@ ...@@ -85,8 +85,8 @@
__doc__='''Application support __doc__='''Application support
$Id: Application.py,v 1.121 2000/04/24 23:59:55 amos Exp $''' $Id: Application.py,v 1.122 2000/05/04 15:31:44 shane Exp $'''
__version__='$Revision: 1.121 $'[11:-2] __version__='$Revision: 1.122 $'[11:-2]
import Globals,Folder,os,sys,App.Product, App.ProductRegistry, misc_ import Globals,Folder,os,sys,App.Product, App.ProductRegistry, misc_
...@@ -127,8 +127,8 @@ _standard_error_msg='''\ ...@@ -127,8 +127,8 @@ _standard_error_msg='''\
</P> </P>
<P> <P>
<STRONG>Error Type: <dtml-var error_type></STRONG><BR> <STRONG>Error Type: <dtml-var error_type html_quote></STRONG><BR>
<STRONG>Error Value: <dtml-var error_value></STRONG><BR> <STRONG>Error Value: <dtml-var error_value html_quote></STRONG><BR>
</P> </P>
<HR NOSHADE> <HR NOSHADE>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment