diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-05-12 14:39:09 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-05-12 14:39:09 +0100 |
commit | db4ef545172db3417684695df1ecca3de001c93f (patch) | |
tree | 8eec404329944875c592555fdf826bfea69390f2 /test | |
parent | 0adcee676505367509681d03ed4e7d611f6de6a0 (diff) | |
download | rspamd-db4ef545172db3417684695df1ecca3de001c93f.tar.gz rspamd-db4ef545172db3417684695df1ecca3de001c93f.zip |
[Minor] Fix parsing of some bogus urls
Diffstat (limited to 'test')
-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 97eda91c6..40d684bfc 100644 --- a/test/lua/unit/url.lua +++ b/test/lua/unit/url.lua @@ -133,6 +133,9 @@ context("URL check functions", function() {"http://hehe。example。com#test", true, { host = 'hehe.example.com', fragment = 'test' }}, + {"http:////$%^&****((@example.org//#f@f", true, { + user = '$%^&****((', host = 'example.org', fragment = 'f@f' + }}, } -- Some cases from https://code.google.com/p/google-url/source/browse/trunk/src/url_canon_unittest.cc |