mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-07 10:33:38 +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
|
* 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
|
* 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 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
|
* Add ToTV provider
|
||||||
* Fix Backlog scheduler initialization and change backlog frequency from minutes to days
|
* Fix Backlog scheduler initialization and change backlog frequency from minutes to days
|
||||||
* Change to consolidate and tidy some provider code
|
* Change to consolidate and tidy some provider code
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
Libs with customisations...
|
Libs with customisations...
|
||||||
|
|
||||||
/tornado
|
/tornado
|
||||||
/lib/requests/packages/urllib3/contrib/pyopenssl.py
|
|
||||||
/lib/requests/packages/urllib3/connectionpool.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`
|
if not getattr(conn, 'sock', None): # AppEngine might not have `.sock`
|
||||||
conn.connect()
|
conn.connect()
|
||||||
|
|
||||||
|
"""
|
||||||
if not conn.is_verified:
|
if not conn.is_verified:
|
||||||
warnings.warn((
|
warnings.warn((
|
||||||
'Unverified HTTPS request is being made. '
|
'Unverified HTTPS request is being made. '
|
||||||
'Adding certificate verification is strongly advised. See: '
|
'Adding certificate verification is strongly advised. See: '
|
||||||
'https://urllib3.readthedocs.org/en/latest/security.html'),
|
'https://urllib3.readthedocs.org/en/latest/security.html'),
|
||||||
InsecureRequestWarning)
|
InsecureRequestWarning)
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
def connection_from_url(url, **kw):
|
def connection_from_url(url, **kw):
|
||||||
|
|
|
@ -81,6 +81,7 @@ except ImportError:
|
||||||
self.ciphers = cipher_suite
|
self.ciphers = cipher_suite
|
||||||
|
|
||||||
def wrap_socket(self, socket, server_hostname=None):
|
def wrap_socket(self, socket, server_hostname=None):
|
||||||
|
"""
|
||||||
warnings.warn(
|
warnings.warn(
|
||||||
'A true SSLContext object is not available. This prevents '
|
'A true SSLContext object is not available. This prevents '
|
||||||
'urllib3 from configuring SSL appropriately and may cause '
|
'urllib3 from configuring SSL appropriately and may cause '
|
||||||
|
@ -89,6 +90,7 @@ except ImportError:
|
||||||
'#insecureplatformwarning.',
|
'#insecureplatformwarning.',
|
||||||
InsecurePlatformWarning
|
InsecurePlatformWarning
|
||||||
)
|
)
|
||||||
|
"""
|
||||||
kwargs = {
|
kwargs = {
|
||||||
'keyfile': self.keyfile,
|
'keyfile': self.keyfile,
|
||||||
'certfile': self.certfile,
|
'certfile': self.certfile,
|
||||||
|
|
Loading…
Reference in a new issue