diff options
author | Eric Wong <e@80x24.org> | 2016-05-01 01:47:10 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-05-01 01:47:10 +0000 |
commit | edf946775493b28c40baef507b83f015f828bb88 (patch) | |
tree | 7bfe699caf720ea7871ad572833365b55abd326a /lib/PublicInbox/Linkify.pm | |
parent | 9da6fcbb3e6d720a4b575a48063ecf3240a44022 (diff) | |
download | public-inbox-edf946775493b28c40baef507b83f015f828bb88.tar.gz |
Tilde is common for some homepages: http://example.org/~user/ There's probably some other acceptable characters I'm missing.
Diffstat (limited to 'lib/PublicInbox/Linkify.pm')
-rw-r--r-- | lib/PublicInbox/Linkify.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Linkify.pm b/lib/PublicInbox/Linkify.pm index 4eddedd0..49ab3116 100644 --- a/lib/PublicInbox/Linkify.pm +++ b/lib/PublicInbox/Linkify.pm @@ -17,7 +17,7 @@ use Digest::SHA qw/sha1_hex/; my $SALT = rand; my $LINK_RE = qr!\b((?:ftp|https?|nntp):// [\@:\w\.-]+/ - ?[\@\w\+\&\?\.\%\;/#=-]*)!x; + ?[~\@\w\+\&\?\.\%\;/#=-]*)!x; sub new { bless {}, shift } |