diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-28 22:10:25 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-28 22:10:25 +0000 |
commit | 660fa482d1447b59f24d994521e5049828fa41dd (patch) | |
tree | 1f9cf3dac35c5df97098fd85eb7bc0272246d2d7 /test/lua | |
parent | de9a56dfb1ebd0fa05216e5ef566393c4bc40b9c (diff) | |
download | rspamd-660fa482d1447b59f24d994521e5049828fa41dd.tar.gz rspamd-660fa482d1447b59f24d994521e5049828fa41dd.zip |
More fixes to url numeric conversions
Diffstat (limited to 'test/lua')
-rw-r--r-- | test/lua/unit/url.lua | 3 |
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' }}, |