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

2006/unicorn/src/org/w3c/unicorn/action IndexAction.java,1.17,1.18

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 17 Sep 2009 17:29:39 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MoKnb-0003bv-Gn@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/action
In directory hutz:/tmp/cvs-serv13860/src/org/w3c/unicorn/action

Modified Files:
	IndexAction.java 
Log Message:
fixed lang links 

Index: IndexAction.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/action/IndexAction.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- IndexAction.java	16 Sep 2009 12:29:09 -0000	1.17
+++ IndexAction.java	17 Sep 2009 17:29:37 -0000	1.18
@@ -48,16 +48,15 @@
 		
 		String lang;
 		String task;
-		String queryString;
+		String queryString = "./" + getQueryStringWithout(paramPrefix + "lang", req);
 		if (req.getAttribute("unicorn_parameters") instanceof Map<?, ?>) {
 			Map<?, ?> reqParams = (Map<?, ?>) req.getAttribute("unicorn_parameters");
 			lang = getLanguage((String) reqParams.get(paramPrefix + "lang"), req, messages);
 			task = getTask((String) reqParams.get(paramPrefix + "task"), null);
-			queryString = "./";
 		} else {
 			lang = getLanguage((String) req.getParameter(paramPrefix + "lang"), req, messages);
 			task = getTask((String) req.getParameter(paramPrefix + "task"), null);
-			queryString = getQueryStringWithout(paramPrefix + "lang", req);
+			
 		}
 		
 		if (req.getAttribute("unicorn_message") != null)
Received on Thursday, 17 September 2009 17:29:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:14 GMT