OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-web Date: 18-Feb-2003 16:57:02 Branch: HEAD Handle: 2003021815570100 Modified files: openpkg-web/security page.pl Log: fix URL Summary: Revision Changes Path 1.3 +1 -1 openpkg-web/security/page.pl ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-web/security/page.pl ============================================================================ $ cvs diff -u -r1.2 -r1.3 page.pl --- openpkg-web/security/page.pl 23 Jan 2003 14:29:33 -0000 1.2 +++ openpkg-web/security/page.pl 18 Feb 2003 15:57:01 -0000 1.3 @@ -31,7 +31,7 @@ $txt =~ s/</</sg; $txt =~ s/>/>/sg; $txt =~ s/((?:http|ftp):\/\/[^\s]+[^\s\.\)\&])/<a href="$1">$1<\/a>/sg; - $txt =~ s/([a-zA-Z0-9_.-]+\@[^\s\)\&]+)/<a href="mailto:$1">$1<\/a>/sg; + $txt =~ s/([\s;]+)([a-zA-Z0-9_.-]+\@[^\s\)\&]+?)([\s&]+)/$1<a href="mailto:$2">$2<\/a>$3/sg; $txt =~ s/(OpenPKG Security Advisory)/<b>$1<\/b>/sg; $txt =~ s/^((\s*[A-Z][a-zA-Z]+)+:)/<b>$1<\/b>/mg; $txt =~ s/(\[(\d+)\])(?!\s+(?:http|ftp):\/\/)/"<a href=\"".$L->{$2}."\">".$1."<\/a>"/sge; @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]