aboutsummaryrefslogtreecommitdiffstats
path: root/test/lua/unit/url.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/lua/unit/url.lua')
-rw-r--r--test/lua/unit/url.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lua/unit/url.lua b/test/lua/unit/url.lua
index e6b112870..0b385c063 100644
--- a/test/lua/unit/url.lua
+++ b/test/lua/unit/url.lua
@@ -53,6 +53,9 @@ context("URL check functions", function()
local pool = mpool.create()
-- input, parseable, {host, port, user, password, path, query, part}
local cases = {
+ {"http://%30%78%63%30%2e%30%32%35%30.01", true, { --0xc0.0250.01
+ host = '192.168.0.1',
+ }},
{"http://www.google.com/foo?bar=baz#", true, {
host = 'www.google.com', path = 'foo', query = 'bar=baz', tld = 'google.com'
}},