diff options
author | Hygna <hygna@proton.me> | 2022-10-03 06:44:49 +0100 |
---|---|---|
committer | Hygna <hygna@proton.me> | 2022-10-03 06:44:49 +0100 |
commit | c1af086c2756f401d8403b259e29f1354c5e001f (patch) | |
tree | d1bc11a485199bc80314ea7719af75dfac0529d6 /src/instances | |
parent | Corrected minor mistake (diff) | |
download | libredirect-c1af086c2756f401d8403b259e29f1354c5e001f.zip |
Finished options upgrading
Diffstat (limited to 'src/instances')
-rw-r--r-- | src/instances/get_instances.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/instances/get_instances.py b/src/instances/get_instances.py index 06b547b3..9a53f927 100644 --- a/src/instances/get_instances.py +++ b/src/instances/get_instances.py @@ -431,6 +431,7 @@ def peertube(): def isValid(url): # This code is contributed by avanitrachhadiya2155 try: + url.encode('ascii') result = urlparse(url) return all([result.scheme, result.netloc]) except Exception: |