From 0c25d99faa4248c370781749b7e744f48ef56fea Mon Sep 17 00:00:00 2001 From: David Phillips Date: Fri, 10 Aug 2018 19:19:00 +1200 Subject: URL_Title.pm: allow for percent encoding --- Plugin/URL_Title.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Plugin') diff --git a/Plugin/URL_Title.pm b/Plugin/URL_Title.pm index 73fa498..fa34e20 100644 --- a/Plugin/URL_Title.pm +++ b/Plugin/URL_Title.pm @@ -37,7 +37,7 @@ sub message return if ($config{url_on} == 0); # Drawn from RFC 3986ยง2 - if ($what =~ /(https?:\/\/[a-z0-9\-\._~:\/\?#\[\]@\!\$&'()\*\+,;=]+)/i) { + if ($what =~ /(https?:\/\/[a-z0-9\-\._~:\/\?#\[\]@\!\$&'()\*\+,;=%]+)/i) { $url = $1; } return unless $url; -- cgit v1.1