From 105d7a3d91cc51db0096e81091979c4e760a46f1 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Tue, 9 May 2017 10:37:33 +1200 Subject: Remove trailing slash from pretty url --- idalius.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/idalius.pl b/idalius.pl index 001fb6c..4bf1544 100755 --- a/idalius.pl +++ b/idalius.pl @@ -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; -- cgit v1.1