[FIX] base_report_designer: allow connection via XML-RPC over SSL (XML-RPC-Secure)
lp bug: https://launchpad.net/bugs/761784 fixed bzr revid: chs@openerp.com-20130610104710-4phnmg7k1vbkrva8
This commit is contained in:
parent
1ef68b2806
commit
dd812e04ba
Binary file not shown.
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue