diff --git a/lib/curl_tests.py b/lib/curl_tests.py index f7c70d4..8243a5f 100644 --- a/lib/curl_tests.py +++ b/lib/curl_tests.py @@ -213,7 +213,7 @@ def test( ) for asset in assets_to_check: # FIXME : this is pretty clumsy, should probably be replaced with a proper URL parsing to serparate domains etc... - if asset.startswith(f"https://"): + if asset.startswith(f"https://") or asset.startswith(f"http://"): if asset.startswith(f"https://{domain}"): asset = asset.replace(f"https://{domain}", "") else: