From 9df0659f436439d7a30d3dd0ffe41fad7e216a9c Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 3 Jun 2017 01:45:44 +0200 Subject: mutt/tiny.pl: don't shorten URLs shorter than 120 bytes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- mutt/tiny.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mutt') diff --git a/mutt/tiny.pl b/mutt/tiny.pl index e33c472..087c539 100755 --- a/mutt/tiny.pl +++ b/mutt/tiny.pl @@ -11,7 +11,7 @@ $file = $ARGV[0]; @text = (); # Only shorten URLs at least this length or more -$tinyurltrigger = 40; +$tinyurltrigger = 120; # If we pass a 2nd argument, it means we want to force HTML check a 'text/plain' file if(defined($ARGV[2])) { open(FP, $file); for() { push(@text, $_); } close(FP); } -- cgit v1.2.3-54-g00ecf