Update of /var/cvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/error
In directory james.mmbase.org:/tmp/cvs-serv2889

Modified Files:
        500.jsp 
Log Message:
CMSC-935, On the exception (500) page, escape the stacktrace,improve  
HTMLToTEXT function


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/error
See also: http://www.mmbase.org/jira/browse/CMSC-935


Index: 500.jsp
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/error/500.jsp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- 500.jsp     18 Aug 2008 10:49:44 -0000      1.9
+++ 500.jsp     19 Aug 2008 02:26:07 -0000      1.10
@@ -20,7 +20,6 @@
    // add HTMLToTEXT
    public static String HTMLToTEXT(String html){  
               html=html.replaceAll("<([^<>]+)>","");
-              String text = html.replaceAll("=\\\"[^\\\"]*\\\""," 
").replaceAll("\\<[^(\\<|\\>)]*\\>"," "); 
               return html.replaceAll("<([^<>]+)>","");  
                 
           } 
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to