mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Update change to suppress HTTPS verification InsecureRequestWarning to updated package as listed in hacks.txt, and remove listed hacks.txt record for check that SSLv3 is available because issue was addressed by vendor.
This commit is contained in:
parent
7e3cb26d4d
commit
8c1c10d6ba
4 changed files with 7 additions and 1 deletions
|
@ -6,6 +6,8 @@
|
|||
* Change network names to only display on top line of Day by Day layout on Episode View
|
||||
* Reposition country part of network name into the hover over in Day by Day layout
|
||||
* Update Requests library 2.4.3 to 2.6.2 (ff71b25)
|
||||
* Update change to suppress HTTPS verification InsecureRequestWarning to updated package as listed in hacks.txt
|
||||
* Remove listed hacks.txt record for check that SSLv3 is available because issue was addressed by vendor
|
||||
* Add ToTV provider
|
||||
* Fix Backlog scheduler initialization and change backlog frequency from minutes to days
|
||||
* Change to consolidate and tidy some provider code
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Libs with customisations...
|
||||
|
||||
/tornado
|
||||
/lib/requests/packages/urllib3/contrib/pyopenssl.py
|
||||
/lib/requests/packages/urllib3/connectionpool.py
|
||||
/lib/requests/packages/urllib3/util/ssl_.py
|
||||
|
|
|
@ -760,12 +760,14 @@ class HTTPSConnectionPool(HTTPConnectionPool):
|
|||
if not getattr(conn, 'sock', None): # AppEngine might not have `.sock`
|
||||
conn.connect()
|
||||
|
||||
"""
|
||||
if not conn.is_verified:
|
||||
warnings.warn((
|
||||
'Unverified HTTPS request is being made. '
|
||||
'Adding certificate verification is strongly advised. See: '
|
||||
'https://urllib3.readthedocs.org/en/latest/security.html'),
|
||||
InsecureRequestWarning)
|
||||
"""
|
||||
|
||||
|
||||
def connection_from_url(url, **kw):
|
||||
|
|
|
@ -81,6 +81,7 @@ except ImportError:
|
|||
self.ciphers = cipher_suite
|
||||
|
||||
def wrap_socket(self, socket, server_hostname=None):
|
||||
"""
|
||||
warnings.warn(
|
||||
'A true SSLContext object is not available. This prevents '
|
||||
'urllib3 from configuring SSL appropriately and may cause '
|
||||
|
@ -89,6 +90,7 @@ except ImportError:
|
|||
'#insecureplatformwarning.',
|
||||
InsecurePlatformWarning
|
||||
)
|
||||
"""
|
||||
kwargs = {
|
||||
'keyfile': self.keyfile,
|
||||
'certfile': self.certfile,
|
||||
|
|
Loading…
Reference in a new issue