Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12643 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32849 invoked by uid 1010); 8 Sep 2004 00:41:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 30699 invoked from network); 8 Sep 2004 00:40:58 -0000 Received: from unknown (HELO merlin.pegasi.net) (66.180.228.196) by pb1.pair.com with SMTP; 8 Sep 2004 00:40:58 -0000 Received: from merlin.pegasi.net (merlin.pegasi.net [127.0.0.1]) by merlin.pegasi.net (8.12.11/8.12.11) with ESMTP id i880evmK020238 (version=TLSv1/SSLv3 cipher=EDH-DSS-DES-CBC3-SHA bits=168 verify=NO); Wed, 8 Sep 2004 00:40:57 GMT Received: from localhost (philip@localhost) by merlin.pegasi.net (8.12.11/8.12.10/Submit) with ESMTP id i880evvB020235; Wed, 8 Sep 2004 00:40:57 GMT X-Authentication-Warning: merlin.pegasi.net: philip owned process doing -bs Date: Wed, 8 Sep 2004 00:40:57 +0000 (GMT) X-Sender: philip@merlin.pegasi.net To: Stefan Esser cc: internals@lists.php.net, phpdoc@lists.php.net In-Reply-To: <413DFA6C.1070705@php.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] PHP Documentation Problem 100th time From: philip@cornado.com (Philip Olson) References: <413DFA6C.1070705@php.net> > I just realised that > > Example 34-2. Validating file uploads > > Is still showing a bullshit example. It constructs a destination path > for move_uploaded_file() that consists of user input. There is no sanity > check on it like removing / and .. sequences. > > Can one of the DOC guys finally fix this code? How about you provide a patch? Or a real suggestion? Instead of some insulting subject and message. In the very least you may use bugs.php.net to file a bug report. Regards, Philip