From 42104ae343626d55725cbe698c921db34a083831 Mon Sep 17 00:00:00 2001
From: Tor-Einar Skog <tor-einar.skog@bioforsk.no>
Date: Tue, 31 May 2016 11:26:47 +0200
Subject: [PATCH] Bugfix in proxy regarding passing on of query parameters

---
 VIPSWeb/views.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/VIPSWeb/views.py b/VIPSWeb/views.py
index 6a0e4ae3..93b827b7 100644
--- a/VIPSWeb/views.py
+++ b/VIPSWeb/views.py
@@ -79,7 +79,8 @@ def vipslogicproxy(request, path):
         r = requests.post
     else:
         return HttpResponseNotAllowed("Permitted methods are POST and GET")
-    params = request.dict()
+    params = request.urlencode()
+    #print params
     try:
         url = "http://%s/%s" % (settings.VIPSLOGIC_SERVER_NAME,path)
         #print url
-- 
GitLab