diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-01-15 11:21:56 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-01-15 11:21:56 +0000 |
commit | 092fa9c14831bc0460bd25190fa013697f572354 (patch) | |
tree | abaff464b106edbc5c694f0e389f241a38bc06c7 /test/lua/unit | |
parent | 5d6f92884a1264d4080b00994090508189e2ead8 (diff) | |
download | rspamd-092fa9c14831bc0460bd25190fa013697f572354.tar.gz rspamd-092fa9c14831bc0460bd25190fa013697f572354.zip |
[Fix] Fix urls shifting when doing decode to include separators
Diffstat (limited to 'test/lua/unit')
-rw-r--r-- | test/lua/unit/url.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lua/unit/url.lua b/test/lua/unit/url.lua index e4baf5b6d..7f337c8b2 100644 --- a/test/lua/unit/url.lua +++ b/test/lua/unit/url.lua @@ -57,7 +57,7 @@ context("URL check functions", function() cases = { {'http://example.net/?arg=%23#fragment', true, { - host = 'example.net', fragment = 'fragment' + host = 'example.net', fragment = 'fragment', query = 'arg=#', }}, {"http:/\\[::eeee:192.168.0.1]/#test", true, { host = '::eeee:c0a8:1', fragment = 'test' |