summaryrefslogtreecommitdiff
path: root/test/U_tests.json
diff options
context:
space:
mode:
authorChristian Schneider2022-01-24 17:54:06 +0100
committerChristian Schneider2022-01-24 17:54:06 +0100
commite867407ae8b86b3170f0f103607d54a0fb7c616e (patch)
tree3d14a876dcb5bdf6eae3eed09292ccef3e8ffa6d /test/U_tests.json
parentffc9ba95e50e3e3c4fdd6f78f0fa43accf5038f2 (diff)
downloaditools-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/U_tests.json')
-rw-r--r--test/U_tests.json6
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"
}
]