aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-01-17 15:00:54 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-01-17 15:00:54 +0000
commit06baaa8ff24f1b74b4962e1f71cddf3946b92c2a (patch)
treeb818639a9d3367aeece7b0da96c6cad6fdfc7729 /test
parent2beeda0d049f7955ff3c84e058cc18b109437248 (diff)
downloadrspamd-06baaa8ff24f1b74b4962e1f71cddf3946b92c2a.tar.gz
rspamd-06baaa8ff24f1b74b4962e1f71cddf3946b92c2a.zip
[Minor] Another try to fix shifting
Diffstat (limited to 'test')
-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 3c56713d2..92709b365 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/path/.]], true, {
+ host = 'example.net', path = 'path'
+ }},
{'http://example.net/hello%20world.php?arg=x#fragment', true, {
host = 'example.net', fragment = 'fragment', query = 'arg=x',
path = 'hello world.php',