W3C home > Mailing lists > Public > www-validator-cvs@w3.org > January 2010

validator/share/templates/en_US header.tmpl,1.40,1.41 soap_fault.tmpl,1.9,1.10

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 26 Jan 2010 20:22:40 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1NZrvs-0007Al-Ox@lionel-hutz.w3.org>
Update of /sources/public/validator/share/templates/en_US
In directory hutz:/tmp/cvs-serv27300/share/templates/en_US

Modified Files:
	header.tmpl soap_fault.tmpl 
Log Message:
Set "Vary: Referer" header in responses to referer validation requests
that have no Referer header.


Index: soap_fault.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/soap_fault.tmpl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- soap_fault.tmpl	23 Jun 2009 18:08:21 -0000	1.9
+++ soap_fault.tmpl	26 Jan 2010 20:22:38 -0000	1.10
@@ -1,5 +1,6 @@
 Content-Type: application/soap+xml; charset=UTF-8
-X-W3C-Validator-Recursion: <TMPL_VAR NAME="depth" DEFAULT="1"><TMPL_IF NAME="fatal_error">
+<TMPL_IF NAME="fatal_referer_error">Vary: Referer
+</TMPL_IF>X-W3C-Validator-Recursion: <TMPL_VAR NAME="depth" DEFAULT="1"><TMPL_IF NAME="fatal_error">
 X-W3C-Validator-Status: Abort<TMPL_ELSE><TMPL_IF NAME="valid_status">
 X-W3C-Validator-Status: <TMPL_VAR NAME="valid_status"></TMPL_IF>
 X-W3C-Validator-Errors: <TMPL_VAR NAME="valid_errors_num">

Index: header.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/header.tmpl,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- header.tmpl	24 Sep 2009 21:28:41 -0000	1.40
+++ header.tmpl	26 Jan 2010 20:22:38 -0000	1.41
@@ -1,6 +1,7 @@
 Content-Language: en
 Content-Type: text/html; charset=UTF-8
-X-W3C-Validator-Recursion: <TMPL_VAR NAME="depth" DEFAULT="1"><TMPL_IF NAME="fatal_error">
+<TMPL_IF NAME="fatal_referer_error">Vary: Referer
+</TMPL_IF>X-W3C-Validator-Recursion: <TMPL_VAR NAME="depth" DEFAULT="1"><TMPL_IF NAME="fatal_error">
 X-W3C-Validator-Status: Abort<TMPL_ELSE><TMPL_IF NAME="valid_status">
 X-W3C-Validator-Status: <TMPL_VAR NAME="valid_status"></TMPL_IF>
 X-W3C-Validator-Errors: <TMPL_VAR NAME="valid_errors_num">
Received on Tuesday, 26 January 2010 20:22:43 UTC

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