Mercurial > hg > documentViewer
changeset 182:60f0cbd12d27
*** empty log message ***
author | abukhman |
---|---|
date | Fri, 24 Sep 2010 13:55:35 +0200 |
parents | bc44cf97dfdc |
children | abf83c1d6371 |
files | MpdlXmlTextServer.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/MpdlXmlTextServer.py Thu Sep 23 17:30:42 2010 +0200 +++ b/MpdlXmlTextServer.py Fri Sep 24 13:55:35 2010 +0200 @@ -147,9 +147,10 @@ #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) + textParam1 =urllib.quote(textParam) + textParam1 +="&highlightQuery=%s&sn=%s"%(highlightQuery,sn) - pagexml = self.getServerData("page-fragment.xql",textParam) + pagexml = self.getServerData("page-fragment.xql",textParam1) #pagexml=self.template.fulltextclient.eval("/mpdl/interface/page-fragment.xql", textParam, outputUnicode=False) pagedom = Parse(pagexml)