aboutsummaryrefslogtreecommitdiff
path: root/Plugin/URL_Title.pm
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-08-10 19:19:00 +1200
committerDavid Phillips <david@sighup.nz>2018-08-10 19:19:00 +1200
commit0c25d99faa4248c370781749b7e744f48ef56fea (patch)
tree0adfe02fdd2d794d6bbe0a4d701fb23b1dff10f7 /Plugin/URL_Title.pm
parente59093be7619f969c9e935d3de539e7432286942 (diff)
downloadidalius-0c25d99faa4248c370781749b7e744f48ef56fea.tar.xz
URL_Title.pm: allow for percent encoding
Diffstat (limited to 'Plugin/URL_Title.pm')
-rw-r--r--Plugin/URL_Title.pm2
1 files changed, 1 insertions, 1 deletions
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;