Skip to content

Commit

Permalink
Issue #204
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-stastny committed Jan 29, 2015
1 parent f253d03 commit 818db0f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public String getSearchQuery() {
HttpServletRequest request = this.requestProvider.get();
if (request.getParameterMap().containsKey("q")) {
String par = request.getParameter("q");
par = par.replace("'", "\\'");
return "'"+par+"'";
} else return "null";
}
Expand Down

0 comments on commit 818db0f

Please sign in to comment.