jerome-nexedi
jerome-nexedi
Since 3.14.0 and the urllib3 backend, situation is different, the default is to not validate certificates -which is a security issue, reported as https://github.com/SeleniumHQ/selenium/issues/6534 . There's still no way to...
Thanks for feedback. The concern is not that I canot use an invalid certificate, it's that certificate is not verified, so if certificate is incorrect for whatever reason ("man in...
PS: a better reference than the lwn article would be https://www.python.org/dev/peps/pep-0476
In a similar situation with lots of duplicated images, a workaround that worked for me was to post-process the pdf with ghostscript using `-dDetectDuplicateImages=true` as suggested on http://stackoverflow.com/questions/10450120/optimize-pdf-files-with-ghostscript-or-other#answer-10453202
For the records, see https://github.com/SeleniumHQ/selenium/issues/6534 for a case where switching from httplib to urllib3 accidentally disabled certificate validation ( the change introducing the issue https://github.com/SeleniumHQ/selenium/commit/8d98f3223c3757bac24f779f5d8c1e9e1e8edcfb )
fixed in https://github.com/mstamy2/PyPDF2/issues/22 This repo seems inactive.