aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/urltest.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/urltest.lua b/test/urltest.lua
index 649be88..8664fa6 100644
--- a/test/urltest.lua
+++ b/test/urltest.lua
@@ -685,6 +685,7 @@ check_absolute_url("a/b/c/d/../", "d/e/f", "a/b/c/d/e/f")
685check_absolute_url("http://velox.telemar.com.br", "/dashboard/index.html", 685check_absolute_url("http://velox.telemar.com.br", "/dashboard/index.html",
686 "http://velox.telemar.com.br/dashboard/index.html") 686 "http://velox.telemar.com.br/dashboard/index.html")
687check_absolute_url("http://example.com/", "../.badhost.com/", "http://example.com/.badhost.com/") 687check_absolute_url("http://example.com/", "../.badhost.com/", "http://example.com/.badhost.com/")
688check_absolute_url("http://example.com/", "...badhost.com/", "http://example.com/...badhost.com/")
688 689
689print("testing path parsing and composition") 690print("testing path parsing and composition")
690check_parse_path("/eu/tu/ele", { "eu", "tu", "ele"; is_absolute = 1 }) 691check_parse_path("/eu/tu/ele", { "eu", "tu", "ele"; is_absolute = 1 })