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

unicorn commit: ~ fixed previous commit

From: Mercurial notifier <nobody@w3.org>
Date: Thu, 23 Sep 2010 16:56:34 +0000
To: Unicorn Updates <www-validator-cvs@w3.org>
Message-Id: <E1Oyp62-0001XE-6d@blinky.w3.org>
changeset:   1513:89240e224d66
tag:         tip
user:        Thomas Gambet <tgambet@w3.org>
date:        Thu Sep 23 12:56:23 2010 -0400
files:       src/org/w3c/unicorn/action/LanguageAction.java
description:
~ fixed previous commit


diff -r 0da7321c7c8c -r 89240e224d66 src/org/w3c/unicorn/action/LanguageAction.java
--- a/src/org/w3c/unicorn/action/LanguageAction.java	Thu Sep 23 12:45:38 2010 -0400
+++ b/src/org/w3c/unicorn/action/LanguageAction.java	Thu Sep 23 12:56:23 2010 -0400
@@ -69,7 +69,6 @@
 		velocityContext.put("queryString", "./");
 		velocityContext.put("messages", messages);
 		velocityContext.put("baseUri", "./");
-		velocityContext.put("host", req.getHeader("Host"));
 		velocityContext.put("availableLocales", Language.getAvailableLocales());
 		if (req.getHeader("Accept-Language") != null)
 			velocityContext.put("native_lang", Language.getAvailableLocale(req.getHeader("Accept-Language")).getName());
@@ -278,6 +277,7 @@
 			contextObjects.put("tasklistChangeLog", tasklistChangeLog);
 			contextObjects.put("interfaceChanged", interfaceChanged);
 			contextObjects.put("tasklistChanged", tasklistChanged);
+			contextObjects.put("host", req.getHeader("Host"));
 			
 			if (interfaceChanged) {
 				ByteArrayOutputStream baos = new ByteArrayOutputStream();
Received on Thursday, 23 September 2010 16:56:35 UTC

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