# HG changeset patch # User abukhman # Date 1285329679 -7200 # Node ID abf83c1d637123d8405296ee228861650395baf0 # Parent 60f0cbd12d270e58160ff4f54001b6cbd5fe74f9 *** empty log message *** diff -r 60f0cbd12d27 -r abf83c1d6371 MpdlXmlTextServer.py --- a/MpdlXmlTextServer.py Fri Sep 24 13:55:35 2010 +0200 +++ b/MpdlXmlTextServer.py Fri Sep 24 14:01:19 2010 +0200 @@ -147,10 +147,9 @@ #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: - textParam1 =urllib.quote(textParam) - textParam1 +="&highlightQuery=%s&sn=%s"%(highlightQuery,sn) + textParam +="&highlightQuery=%s&sn=%s"%(highlightQuery,sn) - pagexml = self.getServerData("page-fragment.xql",textParam1) + pagexml = self.getServerData("page-fragment.xql",textParam) #pagexml=self.template.fulltextclient.eval("/mpdl/interface/page-fragment.xql", textParam, outputUnicode=False) pagedom = Parse(pagexml)