Mercurial > hg > egg-tcls
diff config.urllog.example @ 300:2a9ee3f68225
urllog: Make TLD check configurable.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 27 Jan 2015 08:23:22 +0200 |
parents | 1ff281e821a3 |
children | 916618770490 |
line wrap: on
line diff
--- a/config.urllog.example Tue Jan 27 08:22:36 2015 +0200 +++ b/config.urllog.example Tue Jan 27 08:23:22 2015 +0200 @@ -55,6 +55,13 @@ # (You probably want this enabled.) set urllog_extra_checks 1 +### Check if the TLD (top level domain) looks sane +set urllog_check_tld 1 + +# The valid known Top Level Domains (TLDs), but not the country code TLDs +set urllog_tld_list "org,com,net,mil,gov,biz,edu,coop,aero,info,museum,name,pro,int,xxx" + + ### Enable "rasiatube" hack that de-mangles rasiatube links set urllog_rasiatube_hack 1 @@ -133,6 +140,3 @@ # (Valid alternatives are "PRIVMSG" and "NOTICE") set urllog_preferredmsg "PRIVMSG" -# The valid known Top Level Domains (TLDs), but not the country code TLDs -# (Now includes the new IANA published TLDs) -set urllog_tlds "org,com,net,mil,gov,biz,edu,coop,aero,info,museum,name,pro,int,xxx"