diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-07-16 17:30:03 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-07-16 17:30:03 +0400 |
commit | d19de7c6034b03309d84073c4e482f9fbcd3c349 (patch) | |
tree | efb0fd2a5e7db3a819607e557ffef9f70856741d /src/url.c | |
parent | d52c26c9d3cf915660d849c662fedd776268ec8a (diff) | |
download | rspamd-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)" |