summaryrefslogtreecommitdiffstats
path: root/src/url.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-07-16 17:30:03 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-07-16 17:30:03 +0400
commitd19de7c6034b03309d84073c4e482f9fbcd3c349 (patch)
treeefb0fd2a5e7db3a819607e557ffef9f70856741d /src/url.c
parentd52c26c9d3cf915660d849c662fedd776268ec8a (diff)
downloadrspamd-d19de7c6034b03309d84073c4e482f9fbcd3c349.tar.gz
rspamd-d19de7c6034b03309d84073c4e482f9fbcd3c349.zip
* Fix 'cc' urls parsing
* Add function has_fake_html for determine fake html parts (without any tags)
Diffstat (limited to 'src/url.c')
-rw-r--r--src/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/url.c b/src/url.c
index e156960c3..6f17f1a6d 100644
--- a/src/url.c
+++ b/src/url.c
@@ -53,7 +53,7 @@ static const char *text_url = "((https?|ftp)://)?"
"(\\b(?<![.\\@A-Za-z0-9-])"
"(?: [A-Za-z0-9][A-Za-z0-9-]*(?:\\.[A-Za-z0-9-]+)*\\."
"(?i:com|net|org|biz|edu|gov|info|name|int|mil|aero|coop|jobs|mobi|museum|pro|travel"
-"|[rs]u|uk|ua|by|de|jp|fr|fi|no|no|ca|it|ro|cn|nl|at|nu|se"
+"|cc|[rs]u|uk|ua|by|de|jp|fr|fi|no|no|ca|it|ro|cn|nl|at|nu|se"
"|[a-z]{2}"
"(?(1)|(?=/)))"
"(?!\\w)"