changeset 135:123248b3bb34

fixed more oopsies
author casties
date Fri, 18 Jun 2010 16:10:18 +0200
parents 6a33aa624ba4
children a2114cd4673c
files documentViewer.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/documentViewer.py	Fri Jun 18 16:08:46 2010 +0200
+++ b/documentViewer.py	Fri Jun 18 16:10:18 2010 +0200
@@ -305,7 +305,8 @@
                 params["url"] = getParentDir(params["url"])
                 
         # quote values and assemble into query string
-        ps = "&".join(["%s=%s"%(k,urllib.quote(v)) for (k, v) in params.items()])
+        #ps = "&".join(["%s=%s"%(k,urllib.quote(v)) for (k, v) in params.items()])
+        ps = urllib.urlencode(params)
         url=self.REQUEST['URL1']+"?"+ps
         return url