aboutsummaryrefslogtreecommitdiffstats
path: root/src/url.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-06-24 17:54:38 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-06-24 17:54:38 +0100
commit551625381ad7dd2b3c05fe5908e4494a25c4f5bb (patch)
treee52898680dd3022476a787be54a0e39fcb2f395f /src/url.c
parent62b3f7c5cbe40fc1f28ae9b40d312a626bcfecb1 (diff)
downloadrspamd-551625381ad7dd2b3c05fe5908e4494a25c4f5bb.tar.gz
rspamd-551625381ad7dd2b3c05fe5908e4494a25c4f5bb.zip
Remove ambiguity from url parser.
Diffstat (limited to 'src/url.c')
-rw-r--r--src/url.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/url.c b/src/url.c
index 2cbd047aa..b9a74b09a 100644
--- a/src/url.c
+++ b/src/url.c
@@ -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);