diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-01-15 10:55:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-15 10:55:23 +0000 |
commit | 5d6f92884a1264d4080b00994090508189e2ead8 (patch) | |
tree | badc1d6fc0e409934863b637a51818b1791705ec /test/lua/unit/url.lua | |
parent | 905507145aebb2670046ff85741ad0e65c28884a (diff) | |
parent | f40aecdce758d3dd54fee89a39090482243c415f (diff) | |
download | rspamd-5d6f92884a1264d4080b00994090508189e2ead8.tar.gz rspamd-5d6f92884a1264d4080b00994090508189e2ead8.zip |
Merge pull request #3213 from citrin/url-frag-test
[Test] Add a test case for URL parsing
Diffstat (limited to 'test/lua/unit/url.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 894c3156e..e4baf5b6d 100644 --- a/test/lua/unit/url.lua +++ b/test/lua/unit/url.lua @@ -56,6 +56,9 @@ context("URL check functions", function() end cases = { + {'http://example.net/?arg=%23#fragment', true, { + host = 'example.net', fragment = 'fragment' + }}, {"http:/\\[::eeee:192.168.0.1]/#test", true, { host = '::eeee:c0a8:1', fragment = 'test' }}, |