summaryrefslogtreecommitdiffstats
path: root/test/URI
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2016-11-17 21:10:17 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2016-11-17 21:10:17 (GMT)
commit574585fa78070b0cc6b5ad22543e21a3502a122b (patch)
tree0e96ee0e38f68bcd7662e7815f96e0151740056f /test/URI
downloadblt-574585fa78070b0cc6b5ad22543e21a3502a122b.zip
blt-574585fa78070b0cc6b5ad22543e21a3502a122b.tar.gz
blt-574585fa78070b0cc6b5ad22543e21a3502a122b.tar.bz2
Squashed 'libxml2/' content from commit d9321d2
git-subtree-dir: libxml2 git-subtree-split: d9321d23d75a97f655f9325007ea7837f101100f
Diffstat (limited to 'test/URI')
-rw-r--r--test/URI/smith.uri15
-rw-r--r--test/URI/uri.data18
2 files changed, 33 insertions, 0 deletions
diff --git a/test/URI/smith.uri b/test/URI/smith.uri
new file mode 100644
index 0000000..6cc6c87
--- /dev/null
+++ b/test/URI/smith.uri
@@ -0,0 +1,15 @@
+/foo/../bar
+foo/../bar
+./foo/../bar
+foo/./../bar
+foo/bar/.././../baz
+foo/..
+foo/bar/..
+./foo
+././foo
+.././foo./
+.././foo/.
+/foo
+../foo
+../../foo
+../../../foo
diff --git a/test/URI/uri.data b/test/URI/uri.data
new file mode 100644
index 0000000..a96ea5f
--- /dev/null
+++ b/test/URI/uri.data
@@ -0,0 +1,18 @@
+
+.
+bar
+bar#baz
+bar?baz
+bar?baz#baz2
+#baz
+?baz
+?baz#baz2
+../up.a.notch.html#wow
+../up.a.notch.html?wow
+../up.a.notch.html?wow#wow2
+/root.cgi#OK
+/root.cgi?OK
+/root.cgi?OK#OK2
+http://elsewhere.com/#deep
+http://elsewhere.com/?deep
+http://elsewhere.com/?deep#deep2