Diff for scripts/cgi/cvsweb/cvsweb.cgi between version 1.27 and 1.28
| version 1.27, 2004/10/06 15:32:55 |
version 1.28, 2004/12/14 09:57:16 |
|
|
| # $Idaemons: /home/cvs/cvsweb/cvsweb.cgi,v 1.84 2001/10/07 20:50:10 knu Exp $ |
# $Idaemons: /home/cvs/cvsweb/cvsweb.cgi,v 1.84 2001/10/07 20:50:10 knu Exp $ |
| # |
# |
| # DONT'T delete lines between '$''Idaemons' and '$''Platon' -- patches from FreeBSD failed then |
# DONT'T delete lines between '$''Idaemons' and '$''Platon' -- patches from FreeBSD failed then |
| # $Platon: scripts/cgi/cvsweb/cvsweb.cgi,v 1.26 2003/05/28 23:55:52 nepto Exp $ |
# $Platon: scripts/cgi/cvsweb/cvsweb.cgi,v 1.27 2004/10/06 15:32:55 rajo Exp $ |
| # |
# |
| ### |
### |
| |
|
|
|
| $checkoutMagic = "___checkout___"; |
$checkoutMagic = "___checkout___"; |
| $pathinfo = defined($ENV{PATH_INFO}) ? $ENV{PATH_INFO} : ''; |
$pathinfo = defined($ENV{PATH_INFO}) ? $ENV{PATH_INFO} : ''; |
| $pathinfo =~ s/\xff//g; # dummy Jyxobot/1 and PEAR HTTP_Request class ( http://pear.php.net/ ) |
$pathinfo =~ s/\xff//g; # dummy Jyxobot/1 and PEAR HTTP_Request class ( http://pear.php.net/ ) |
| warn "pathinfo = '$pathinfo'"; |
#warn "pathinfo = '$pathinfo'"; |
| $where = $pathinfo; |
$where = $pathinfo; |
| $doCheckout = ($where =~ m|^/$checkoutMagic/|); |
$doCheckout = ($where =~ m|^/$checkoutMagic/|); |
| $where =~ s|^/$checkoutMagic/|/|; |
$where =~ s|^/$checkoutMagic/|/|; |
Platon Group <platon@platon.org> http://platon.org/
|
|