New submission from Michael Schlenker: 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. ---------- components: Extension Modules messages: 252987 nosy: schlenk priority: normal severity: normal status: open title: ssl.SSLcontext.load_dh_params() does not handle unicode filenames properly type: behavior versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25404> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com