webwork/src/main/webwork/action/factory ParameterMap.java,1.8,1.9

[email protected] Sat, 10 Dec 2005 10:51:35 +0000 (UTC)
Newsgroups gmane.comp.java.open-symphony.cvs
Message-ID <[email protected]>
Update of /cvsroot/opensymphony/webwork/src/main/webwork/action/factory
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30120/src/main/webwork/action/factory

Modified Files:
	ParameterMap.java 
Log Message:
Turns out my fix for WW-190 was just fixing a bug in Orion, rather than a bug in webwork.

Rolled it back on advice from Dylan Etkin (of Atlassian), who says it breaks other things.


Index: ParameterMap.java
===================================================================
RCS file: /cvsroot/opensymphony/webwork/src/main/webwork/action/factory/ParameterMap.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- ParameterMap.java	19 Mar 2005 19:20:21 -0000	1.8
+++ ParameterMap.java	10 Dec 2005 10:48:08 -0000	1.9
@@ -38,19 +38,6 @@
             final String key = e.nextElement().toString();
             final String[] value = request.getParameterValues(key);
 
-             //handle ;jsessionid= being passed at the end of parameters.  Fixes WW-190
-             for (int i = 0; i < value.length; i++)
-             {
-                 String s = value[i];
-                 if (s != null && s.length() > SESSION_ID_PREFIX.length() && s.indexOf(SESSION_ID_PREFIX) != -1)
-                 {
-                     //seeing as ;jsessionid= is always at the end of the URL, we just get the text before it
-                     s = s.substring(0, s.indexOf(SESSION_ID_PREFIX));
-                     value[i] = s;
-                     break; //we should never have more than one ;jsessionid=
-                 }
-             }
-
             entries.add(new Map.Entry()
             {
                public boolean equals(Object obj)



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click