From 660fa482d1447b59f24d994521e5049828fa41dd Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 28 Nov 2015 22:10:25 +0000 Subject: More fixes to url numeric conversions --- test/lua/unit/url.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/lua') 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' }}, -- cgit v1.2.3