From 9db4126dddb31083d0c0713851af3506174a5ced Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 31 Mar 2006 00:25:58 +0000 Subject: Revise a bunch of links. Remove UWIMAP and qpopper propaganda from FAQ, replace by a Dovecot plug, and warn of qmail. svn path=/branches/BRANCH_6-3/; revision=4762 --- dist-tools/manServer.pl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'dist-tools') diff --git a/dist-tools/manServer.pl b/dist-tools/manServer.pl index b2751340..08d17324 100755 --- a/dist-tools/manServer.pl +++ b/dist-tools/manServer.pl @@ -3,9 +3,12 @@ # manServer - Unix man page to HTML converter # Rolf Howarth, rolf@squarebox.co.uk # Version 1.07 16 July 2001 +# Version 1.07+ma1 2006-03-31 Matthias Andree +# add trailing slash of URLs +# support https, too -$version = "1.07"; -$manServerUrl = "manServer $version"; +$version = "1.07+ma1"; +$manServerUrl = "manServer $version"; use Socket; @@ -623,7 +626,7 @@ sub outputLine # Insert links for http, ftp and mailto URLs # Recognised URLs are sequence of alphanumerics and special chars like / and ~ # but must finish with an alphanumeric rather than punctuation like "." - s,\b(http://[-\w/~:@.%#+$?=]+\w),\1,g; + s,\b(https?://[-\w/~:@.%#+$?=]+[\w/]),\1,g; s,\b(ftp://[-\w/~:@.%#+$?=]+),\1,g; s,([-_A-Za-z0-9.]+@[A-Za-z][-_A-Za-z0-9]*\.[-_A-Za-z0-9.]+),\1,g; -- cgit v1.2.3