diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-06-24 17:54:38 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-06-24 17:54:38 +0100 |
commit | 551625381ad7dd2b3c05fe5908e4494a25c4f5bb (patch) | |
tree | e52898680dd3022476a787be54a0e39fcb2f395f /src/url.c | |
parent | 62b3f7c5cbe40fc1f28ae9b40d312a626bcfecb1 (diff) | |
download | rspamd-551625381ad7dd2b3c05fe5908e4494a25c4f5bb.tar.gz rspamd-551625381ad7dd2b3c05fe5908e4494a25c4f5bb.zip |
Remove ambiguity from url parser.
Diffstat (limited to 'src/url.c')
-rw-r--r-- | src/url.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -506,9 +506,6 @@ url_init (void) /* some.tld: */ rspamd_snprintf (patbuf, sizeof (patbuf), "%s:", matchers[i].pattern); rspamd_trie_insert (url_scanner->patterns, patbuf, i); - /* some.tld./ */ - rspamd_snprintf (patbuf, sizeof (patbuf), "%s./", matchers[i].pattern); - rspamd_trie_insert (url_scanner->patterns, patbuf, i); } else { rspamd_trie_insert (url_scanner->patterns, matchers[i].pattern, i); |