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 schlenk
Recipients schlenk
Date 2015-10-14.12:36:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444826187.38.0.734586543163.issue25404@psf.upfronthosting.co.za>
In-reply-to
Content
The load_dh_params() method of SSLContext does not properly handle unicode filenames on Windows (like load_verify_location() does).

It should convert any passed unicode path to the filesystem encoding.

This is already fixed in the 3.x head revision, by loading the file via python instead of the OpenSSL BIO functions, but is broken in 2.7.10.

Currently it silently works for most files due to an implicit conversion to string, but with the wrong default encoding instead of filesystem encoding.
History
Date User Action Args
2015-10-14 12:36:27schlenksetrecipients: + schlenk
2015-10-14 12:36:27schlenksetmessageid: <1444826187.38.0.734586543163.issue25404@psf.upfronthosting.co.za>
2015-10-14 12:36:27schlenklinkissue25404 messages
2015-10-14 12:36:26schlenkcreate