Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
GH-3: Thinking about it, not allowing http://foo seems dumb
Browse files Browse the repository at this point in the history
  • Loading branch information
FauxFaux committed Aug 11, 2013
1 parent 4a781b4 commit 5f71c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings.c
Expand Up @@ -58,7 +58,7 @@ const char* urlhack_default_regex =
"(((https?|ftp):\\/\\/)|www\\.)"
"("
"([0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)" // 127.0.0.1
"|localhost"
"|[a-z]+[0-9]*" // http://foo
"|([a-zA-Z0-9\\-]+\\.)*[a-zA-Z0-9\\-]+\\." // ab-c.de-f.qrs.tuv.
// popular tlds, and anything that could be a country
"(aero|asia|biz|cat|com|coop|info|int|jobs"
Expand Down

0 comments on commit 5f71c14

Please sign in to comment.