2002/css-validator/autotest AutoTestContentHandler.java,1.2,1.3

Update of /sources/public/2002/css-validator/autotest
In directory hutz:/tmp/cvs-serv3235/autotest

Modified Files:
	AutoTestContentHandler.java 
Log Message:
removing \r as well so it'll work on windows machine as well

Index: AutoTestContentHandler.java
===================================================================
RCS file: /sources/public/2002/css-validator/autotest/AutoTestContentHandler.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- AutoTestContentHandler.java	11 Jul 2007 10:03:15 -0000	1.2
+++ AutoTestContentHandler.java	6 Aug 2007 13:36:21 -0000	1.3
@@ -34,7 +34,7 @@
  */
 public class AutoTestContentHandler implements ContentHandler {
 
-	public static final String VALIDATOR = "http://10.1.2.79:8080/css-validator/validator?";
+	public static final String VALIDATOR = "http://localhost:8080/css-validator/validator?";
 	public static final String PARAMS = "&output=soap12";
 	public static final int TESTSUITE = "testsuite".hashCode();
 	public static final int TEST = "test".hashCode();
@@ -506,6 +506,7 @@
 		res = res.replaceAll("\\|", "%7C");
 		res = res.replaceAll("~'", "%7E");
 		res = res.replaceAll("\\\n", "");
+		res = res.replaceAll("\\\r", "");
 		return res;
 	}
 

Received on Monday, 6 August 2007 13:36:28 UTC