You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2011/05/09 06:36:27 UTC
svn commit: r1100884 - in /cxf/branches/2.3.x-fixes: ./
rt/core/src/main/java/org/apache/cxf/interceptor/URIMappingInterceptor.java
Author: ffang
Date: Mon May 9 04:36:27 2011
New Revision: 1100884
URL: http://svn.apache.org/viewvc?rev=1100884&view=rev
Log:
Merged revisions 1100873 via svnmerge from
https://svn.apache.org/repos/asf/cxf/trunk
........
r1100873 | ffang | 2011-05-09 12:01:13 +0800 (δΈ€, 09 5 2011) | 1 line
[CXF-3499]URIMappingInterceptor and ArrayIndexOutOfBoundsException
........
Modified:
cxf/branches/2.3.x-fixes/ (props changed)
cxf/branches/2.3.x-fixes/rt/core/src/main/java/org/apache/cxf/interceptor/URIMappingInterceptor.java
Propchange: cxf/branches/2.3.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.
Modified: cxf/branches/2.3.x-fixes/rt/core/src/main/java/org/apache/cxf/interceptor/URIMappingInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/rt/core/src/main/java/org/apache/cxf/interceptor/URIMappingInterceptor.java?rev=1100884&r1=1100883&r2=1100884&view=diff
==============================================================================
--- cxf/branches/2.3.x-fixes/rt/core/src/main/java/org/apache/cxf/interceptor/URIMappingInterceptor.java (original)
+++ cxf/branches/2.3.x-fixes/rt/core/src/main/java/org/apache/cxf/interceptor/URIMappingInterceptor.java Mon May 9 04:36:27 2011
@@ -316,7 +316,9 @@ public class URIMappingInterceptor exten
for (String part : parts) {
if (part.contains("=")) {
String[] keyValue = part.split("=");
- queries.put(keyValue[0], uriDecode(keyValue[1]));
+ if (keyValue.length >= 2) {
+ queries.put(keyValue[0], uriDecode(keyValue[1]));
+ }
}
}
return queries;