Some security fixes

Added link to Patreon
This commit is contained in:
Soxoj
2021-10-31 21:38:32 +03:00
parent 87a7a2cc59
commit 516861e0ae
3 changed files with 5 additions and 2 deletions
+3
View File
@@ -0,0 +1,3 @@
# These are supported funding model platforms
patreon: soxoj
+1 -1
View File
@@ -1,5 +1,5 @@
aiodns==3.0.0
aiohttp==3.7.4.post0
aiohttp==3.7.4
aiohttp-socks==0.5.5
arabic-reshaper==2.1.1
async-timeout==3.0.1
+1 -1
View File
@@ -73,7 +73,7 @@ def test_url_extract_main_part():
['/', ''],
]
url_regexp = re.compile('^https?://(www.)?flickr.com/photos/(.+?)$')
url_regexp = re.compile(r'^https?://(www\.)?flickr.com/photos/(.+?)$')
# combine parts variations
for url_parts in itertools.product(*parts):
url = ''.join(url_parts)