Skip to content

Commit b9d827a

Browse files
committed
🔨 update(requests): Updating testing request due to HTTP vulnerability
1 parent 99a4f80 commit b9d827a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dnsmod.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
import requests
1111

12-
VERSION = "1.0.4"
12+
VERSION = "1.0.5"
1313
CONNECTION_TEST_URL = "https://google.com"
1414
PING_TEST_IP = "1.1.1.1"
1515

@@ -59,7 +59,7 @@ def test_connection(self) -> None:
5959
Test the connection.
6060
"""
6161
try:
62-
requests.get(CONNECTION_TEST_URL, timeout=5)
62+
requests.get(CONNECTION_TEST_URL, allow_redirects=False, timeout=5)
6363
print("Connection test passed ...")
6464
print("Good luck have fun! :)")
6565
except Exception as e:

0 commit comments

Comments
 (0)