This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vpelletier
Recipients vpelletier
Date 2012-07-05.08:27:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341476834.17.0.988428605754.issue15253@psf.upfronthosting.co.za>
In-reply-to
Content
SafeTransport class supports a 2-tuple as uri, in order to pass x509 parameters to httplib.HTTPSConnection .
xmlrpclib.ServerProxy.__init__ fails when given such tuple, because it calls:
  urllib.splittype(uri)
without checking uri type first.

Minimal test case to reproduce is:

import xmlrpclib
xmlrpclib.ServerProxy(('https://example.com', {}))
History
Date User Action Args
2012-07-05 08:27:14vpelletiersetrecipients: + vpelletier
2012-07-05 08:27:14vpelletiersetmessageid: <1341476834.17.0.988428605754.issue15253@psf.upfronthosting.co.za>
2012-07-05 08:27:13vpelletierlinkissue15253 messages
2012-07-05 08:27:13vpelletiercreate