changeset 624:80a0191ae51c

move sslification to only client-visible urls.
author casties
date Mon, 15 Dec 2014 17:05:51 +0100
parents 6012fe93f78c
children 80a3b1fa5705
files documentViewer.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/documentViewer.py	Mon Dec 15 16:10:05 2014 +0100
+++ b/documentViewer.py	Mon Dec 15 17:05:51 2014 +0100
@@ -319,7 +319,7 @@
     def findDigilibUrl(self):
         """try to get the digilib URL from zogilib"""
         url = self.template.zogilib.getDLBaseUrl()
-        return sslifyUrl(url, self, force=True)
+        return url
     
     def getScalerUrl(self, fn=None, pn=None, dw=100, dh=100, docinfo=None):
         """returns URL to digilib Scaler with params"""
@@ -338,7 +338,7 @@
             url += "&pn=%s"%pn
             
         url += "&dw=%s&dh=%s"%(dw,dh)
-        return url
+        return sslifyUrl(url, self, force=True)
 
     def getDocumentViewerURL(self):
         """returns the URL of this instance"""