A slash is valid character in OS names, eg. OSF1 V4.0/alpha
Submitted by: Warren Block
This commit is contained in:
parent
b2222737ec
commit
2d3d75837b
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=30280
1 changed files with 4 additions and 4 deletions
|
|
@ -33,7 +33,7 @@
|
|||
# BSDI Id: bsdi-man,v 1.2 1995/01/11 02:30:01 polk Exp
|
||||
# Dual CGI/Plexus mode and new interface by sanders@bsdi.com 9/22/1995
|
||||
#
|
||||
# $Id: man.cgi,v 1.174 2007-05-04 21:19:37 wosch Exp $
|
||||
# $Id: man.cgi,v 1.175 2007-06-12 19:09:50 wosch Exp $
|
||||
|
||||
############################################################################
|
||||
# !!! man.cgi is stale perl4 code !!!
|
||||
|
|
@ -471,7 +471,7 @@ sub do_man {
|
|||
$alttitle = $form{'title'};
|
||||
$manpath = $form{'manpath'};
|
||||
|
||||
if ($manpath =~ /^([0-9A-Za-z \.\-]+)$/) {
|
||||
if ($manpath =~ /^([0-9A-Za-z \.\-\/]+)$/) {
|
||||
$manpath = $1;
|
||||
} else {
|
||||
$manpath = '';
|
||||
|
|
@ -1094,7 +1094,7 @@ ETX
|
|||
}
|
||||
|
||||
sub copyright {
|
||||
$id = '$Id: man.cgi,v 1.174 2007-05-04 21:19:37 wosch Exp $';
|
||||
$id = '$Id: man.cgi,v 1.175 2007-06-12 19:09:50 wosch Exp $';
|
||||
|
||||
return qq{\
|
||||
<PRE>
|
||||
|
|
@ -1146,7 +1146,7 @@ sub faq {
|
|||
&encode_url($_) . "\n") if $manPathAliases{$_};
|
||||
}
|
||||
|
||||
local $id = '$Id: man.cgi,v 1.174 2007-05-04 21:19:37 wosch Exp $';
|
||||
local $id = '$Id: man.cgi,v 1.175 2007-06-12 19:09:50 wosch Exp $';
|
||||
return qq{\
|
||||
<PRE>
|
||||
Copyright (c) 1996-2007 <a href="$mailtoURL">Wolfram Schneider</A>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue