diff --git a/search/src/java/cz/incad/Kramerius/views/inc/details/tabs/AltoSupportViewObject.java b/search/src/java/cz/incad/Kramerius/views/inc/details/tabs/AltoSupportViewObject.java index d7a5f9de5b..aaedb5b948 100644 --- a/search/src/java/cz/incad/Kramerius/views/inc/details/tabs/AltoSupportViewObject.java +++ b/search/src/java/cz/incad/Kramerius/views/inc/details/tabs/AltoSupportViewObject.java @@ -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"; }