diff options
author | Christian Schneider | 2022-01-24 17:54:06 +0100 |
---|---|---|
committer | Christian Schneider | 2022-01-24 17:54:06 +0100 |
commit | e867407ae8b86b3170f0f103607d54a0fb7c616e (patch) | |
tree | 3d14a876dcb5bdf6eae3eed09292ccef3e8ffa6d /test | |
parent | ffc9ba95e50e3e3c4fdd6f78f0fa43accf5038f2 (diff) | |
download | itools-e867407ae8b86b3170f0f103607d54a0fb7c616e.tar.gz itools-e867407ae8b86b3170f0f103607d54a0fb7c616e.tar.bz2 itools-e867407ae8b86b3170f0f103607d54a0fb7c616e.zip |
Fix PHP 8.1 warning when URL given to U() is invalid
Diffstat (limited to 'test')
-rw-r--r-- | test/U_tests.json | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/U_tests.json b/test/U_tests.json index 0025565..83a6771 100644 --- a/test/U_tests.json +++ b/test/U_tests.json @@ -219,5 +219,11 @@ "args": ["a:b:c:d:javascript:alert('fail');"], "exp": "alert(%27fail%27)%3B", "name": "U() remove multiple schemes from path" + }, + + { + "args": ["//Oeffnungszeiten:8.30-17.00/"], + "exp": "//Oeffnungszeiten:8.30-17.00/", + "name": "U() with invalid URL" } ] |