Skip to content

Commit

Permalink
remove '*' from query string (people believe that this is a wild card)
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7400 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
orbiter committed Dec 28, 2010
1 parent 3ca06d6 commit 1b67021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htroot/yacysearch.java
Expand Up @@ -90,7 +90,7 @@ public static serverObjects respond(final RequestHeader header, final serverObje

// get query
String originalquerystring = (post == null) ? "" : post.get("query", post.get("search", "")).trim();
String querystring = originalquerystring.replace('+', ' ');
String querystring = originalquerystring.replace('+', ' ').replace('*', ' ');
CrawlProfile.CacheStrategy snippetFetchStrategy = (post == null) ? null : CrawlProfile.CacheStrategy.parse(post.get("verify", "cacheonly"));
final servletProperties prop = new servletProperties();
prop.put("topmenu", sb.getConfigBool("publicTopmenu", true) ? 1 : 0);
Expand Down

0 comments on commit 1b67021

Please sign in to comment.