Author: jonathan
Date: Mon Jan 21 12:43:15 2008
New Revision: 12654
Log:
MASHUP-539: Strip "%" from search strings - it's a special character internally.
Modified:
trunk/mashup/java/modules/www/search.jsp
Modified: trunk/mashup/java/modules/www/search.jsp
==============================================================================
--- trunk/mashup/java/modules/www/search.jsp (original)
+++ trunk/mashup/java/modules/www/search.jsp Mon Jan 21 12:43:15 2008
@@ -74,6 +74,9 @@
String searchFor = request.getParameter("for");
if (searchFor == null) {
searchFor = "";
+ } else {
+ // strip "%", since they are a special character in our world
+ searchFor = searchFor.replace("%", "");
}
String paramTags = request.getParameter("tags");
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev