# HG changeset patch # User abukhman # Date 1285335988 -7200 # Node ID 0b27f1c1e34b420021c782b5879e52d0cebb9bee # Parent 3b3476df97d49b742af289f38ad6d409a216a444 *** empty log message *** diff -r 3b3476df97d4 -r 0b27f1c1e34b MpdlXmlTextServer.py --- a/MpdlXmlTextServer.py Fri Sep 24 14:23:12 2010 +0200 +++ b/MpdlXmlTextServer.py Fri Sep 24 15:46:28 2010 +0200 @@ -147,7 +147,7 @@ #logging.debug("documentViewer (characterNormalization) characterNormalization: %s"%(characterNormalization)) textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s"%(docpath,textmode,pn,characterNormalization) if highlightQuery is not None: - textParam +="&highlightQuery=%s&sn=%s"%(highlightQuery,sn) + textParam +="&highlightQuery=%s&sn=%s"%(urllib.quote(highlightQuery),sn) pagexml = self.getServerData("page-fragment.xql",textParam) #pagexml=self.template.fulltextclient.eval("/mpdl/interface/page-fragment.xql", textParam, outputUnicode=False)