[FIX] base_report_designer: allow connection via XML-RPC over SSL (XML-RPC-Secure)
authorChristophe Simonis <chs@openerp.com>
Mon, 10 Jun 2013 10:47:10 +0000 (12:47 +0200)
committerChristophe Simonis <chs@openerp.com>
Mon, 10 Jun 2013 10:47:10 +0000 (12:47 +0200)
lp bug: https://launchpad.net/bugs/761784 fixed

bzr revid: chs@openerp.com-20130610104710-4phnmg7k1vbkrva8

addons/base_report_designer/plugin/openerp_report_designer.zip
addons/base_report_designer/plugin/openerp_report_designer/bin/script/lib/rpc.py

index 7d03f45..238f9d1 100644 (file)
Binary files a/addons/base_report_designer/plugin/openerp_report_designer.zip and b/addons/base_report_designer/plugin/openerp_report_designer.zip differ
index 5d6f8ca..e0176bf 100644 (file)
@@ -61,8 +61,8 @@ class RPCSession(object):
         protocol = m.group(1)
         if not m:
             return -1
-        if protocol == 'http://' or protocol == 'http://':
-            self.gateway = XMLRPCGateway(host, port, 'http')
+        if protocol == 'http://' or protocol == 'https://':
+            self.gateway = XMLRPCGateway(host, port, protocol[:-3])
         elif protocol == 'socket://':
 
             self.gateway = NETRPCGateway(host, port)