Author: ssmiweve
Date: 2007-05-31 22:26:18 +0200 (Thu, 31 May 2007)
New Revision: 5240
Modified:
branches/2.13/war/src/main/java/no/schibstedsok/searchportal/http/filters/DataModelFilter.java
Log:
SEARCH-1981 - Ampersand (&) character i url til urlrewrite feiler.
Modified:
branches/2.13/war/src/main/java/no/schibstedsok/searchportal/http/filters/DataModelFilter.java
===================================================================
---
branches/2.13/war/src/main/java/no/schibstedsok/searchportal/http/filters/DataModelFilter.java
2007-05-31 20:13:46 UTC (rev 5239)
+++
branches/2.13/war/src/main/java/no/schibstedsok/searchportal/http/filters/DataModelFilter.java
2007-05-31 20:26:18 UTC (rev 5240)
@@ -285,14 +285,7 @@
if (null != value && null != queryStringValue) {
try {
-
- LOG.debug("param-plain " + value);
- LOG.debug("param-utf8Encode " + URLEncoder.encode(value, "UTF-8"));
- LOG.debug("param-isoEncode " + URLEncoder.encode(value,
"ISO-8859-1"));
- LOG.debug("url-plain " + queryStringValue);
- LOG.debug("url-utf8Dencode " + URLDecoder.decode(queryStringValue,
"UTF-8"));
- LOG.debug("url-isoDencode " + URLDecoder.decode(queryStringValue,
"ISO-8859-1"));
-
+
final String encodedReqValue = URLEncoder.encode(value,
"UTF-8")
.replaceAll("[+]", "%20")
.replaceAll("[*]", "%2A");
_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits