aboutsummaryrefslogtreecommitdiffstats
path: root/dist-tools/manServer.pl
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-03-31 00:25:58 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-03-31 00:25:58 +0000
commit9db4126dddb31083d0c0713851af3506174a5ced (patch)
tree77fb0bf4b724c672502187bfade59f0fbb17dc10 /dist-tools/manServer.pl
parentf9b92979c796311177255c6a43414947eb7c7e2c (diff)
downloadfetchmail-9db4126dddb31083d0c0713851af3506174a5ced.tar.gz
fetchmail-9db4126dddb31083d0c0713851af3506174a5ced.tar.bz2
fetchmail-9db4126dddb31083d0c0713851af3506174a5ced.zip
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
Diffstat (limited to 'dist-tools/manServer.pl')
-rwxr-xr-xdist-tools/manServer.pl9
1 files changed, 6 insertions, 3 deletions
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 = "<A HREF=\"http://www.squarebox.co.uk/download/manServer.shtml\">manServer $version</A>";
+$version = "1.07+ma1";
+$manServerUrl = "<A HREF=\"http://www.squarebox.co.uk/users/rolf/download/manServer.shtml\">manServer $version</A>";
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),<A HREF=\"\1\">\1</A>,g;
+ s,\b(https?://[-\w/~:@.%#+$?=]+[\w/]),<A HREF=\"\1\">\1</A>,g;
s,\b(ftp://[-\w/~:@.%#+$?=]+),<A HREF=\"\1\">\1</A>,g;
s,([-_A-Za-z0-9.]+@[A-Za-z][-_A-Za-z0-9]*\.[-_A-Za-z0-9.]+),<A HREF=\"mailto:\1\">\1</A>,g;