diff options
author | David Phillips <david@sighup.nz> | 2017-05-09 10:37:33 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-05-09 10:37:33 +1200 |
commit | 105d7a3d91cc51db0096e81091979c4e760a46f1 (patch) | |
tree | 22514209e47cbdbbaf10c1953fe2aae86b80ca45 /idalius.pl | |
parent | dc72f231b269530e71f04be7c344a59e6b9675dd (diff) | |
download | idalius-105d7a3d91cc51db0096e81091979c4e760a46f1.tar.xz |
Remove trailing slash from pretty url
Diffstat (limited to 'idalius.pl')
-rwxr-xr-x | idalius.pl | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -95,6 +95,7 @@ sub url_get_title # remove http(s):// to avoid triggering other poorly configured bots $shorturl =~ s,^https?://,,g; + $shorturl =~ s,/$,,g; my $composed_title = "$title ($shorturl)"; return $composed_title; |