cvs: php-master-web /fetch docsauth.php

From: Date: Sun, 13 Jun 2004 09:00:34 +0000
Subject: cvs: php-master-web /fetch docsauth.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-24946@lists.php.net to get a copy of this message
jacques Sun Jun 13 05:00:34 2004 EDT Modified files: /php-master-web/fetch docsauth.php Log: md5() the incoming token http://cvs.php.net/diff.php/php-master-web/fetch/docsauth.php?r1=1.1&r2=1.2&ty=u Index: php-master-web/fetch/docsauth.php diff -u php-master-web/fetch/docsauth.php:1.1 php-master-web/fetch/docsauth.php:1.2 --- php-master-web/fetch/docsauth.php:1.1 Sat Jun 12 18:36:09 2004 +++ php-master-web/fetch/docsauth.php Sun Jun 13 05:00:34 2004 @@ -1,5 +1,5 @@ <?php -// $Id: docsauth.php,v 1.1 2004/06/12 22:36:09 jacques Exp $ +// $Id: docsauth.php,v 1.2 2004/06/13 09:00:34 jacques Exp $ require_once 'cvs-auth.inc'; @@ -7,7 +7,7 @@ $pw = null; if ($_SERVER['REMOTE_ADDR'] != '81.57.253.132' && - $_GET['token'] != '97669cf8c9a1449eb2099ea6147d125697669cf8c9a1449eb2099ea6147d1256') { + md5($_GET['token']) != '97669cf8c9a1449eb2099ea6147d125697669cf8c9a1449eb2099ea6147d1256') { die ("ERR: Permission denied."); }

« previous php.mirrors (#24946) next »