W3C home > Mailing lists > Public > www-validator-cvs@w3.org > November 2011

2002/css-validator/org/w3c/css/util HTTPURL.java,1.26,1.27

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 05 Nov 2011 09:16:13 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1RMcMH-0002hd-NN@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/util
In directory hutz:/tmp/cvs-serv10361/org/w3c/css/util

Modified Files:
	HTTPURL.java 
Log Message:
Set Referer only with setReferrer().

Index: HTTPURL.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/util/HTTPURL.java,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- HTTPURL.java	4 Nov 2011 21:07:54 -0000	1.26
+++ HTTPURL.java	5 Nov 2011 09:16:11 -0000	1.27
@@ -227,9 +227,6 @@
                 "Jigsaw/2.2.5 W3C_CSS_Validator_JFouffa/2.0");
         // referrer
         setReferrer(urlC, ref);
-        if (ref != null) {
-            urlC.setRequestProperty("Referer", ref.toExternalForm());
-        }
         // relay authorization information
         if (ac.getCredential() != null) {
             urlC.setRequestProperty("Authorization", ac.getCredential());
Received on Saturday, 5 November 2011 09:16:23 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:47 UTC