diff options
Diffstat (limited to 'src/common/url.c')
-rw-r--r-- | src/common/url.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/common/url.c b/src/common/url.c index 9fa2d75c..94a03401 100644 --- a/src/common/url.c +++ b/src/common/url.c @@ -166,6 +166,29 @@ url_check_word (char *word, int len) { D(".html") }, { D(".info") }, { D(".name") }, + /* Some extra common suffixes. + foo.blah/baz.php etc should work now, rather than + needing http:// at the beginning. */ + { D(".php") }, + { D(".htm") }, + { D(".aero") }, + { D(".asia") }, + { D(".biz") }, + { D(".cat") }, + { D(".coop") }, + { D(".int") }, + { D(".jobs") }, + { D(".mobi") }, + { D(".museum") }, + { D(".name") }, + { D(".pro") }, + { D(".tel") }, + { D(".travel") }, + { D(".xxx") }, + { D(".asp") }, + { D(".aspx") }, + { D(".shtml") }, + { D(".xml") }, }; #undef D const char *at, *dot; |