Changeset 182:60f0cbd12d27 in documentViewer for MpdlXmlTextServer.py


Ignore:
Timestamp:
Sep 24, 2010, 11:55:35 AM (14 years ago)
Author:
abukhman
Branch:
default
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MpdlXmlTextServer.py

    r181 r182  
    148148        textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s"%(docpath,textmode,pn,characterNormalization)
    149149        if highlightQuery is not None:
    150             textParam +="&highlightQuery=%s&sn=%s"%(highlightQuery,sn)           
    151        
    152         pagexml = self.getServerData("page-fragment.xql",textParam)
     150            textParam1 =urllib.quote(textParam)
     151            textParam1 +="&highlightQuery=%s&sn=%s"%(highlightQuery,sn)           
     152       
     153        pagexml = self.getServerData("page-fragment.xql",textParam1)
    153154        #pagexml=self.template.fulltextclient.eval("/mpdl/interface/page-fragment.xql", textParam, outputUnicode=False)
    154155       
Note: See TracChangeset for help on using the changeset viewer.