Re: cvs: php-src(PHP_4_3) / NEWS /ext/standard string.c /main rfc1867.c

From: Date: Fri, 21 Jan 2005 19:50:54 +0000
Subject: Re: cvs: php-src(PHP_4_3) / NEWS /ext/standard string.c /main rfc1867.c
References: 1 2 3 4 5 6  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-30064@lists.php.net to get a copy of this message
Moriyoshi Koizumi wrote: > Right, but the browsers send filenames in its particular form, whose > path delimiter could be '¥¥'. Isn't this causing another problem on > a *NIX system where '¥¥' isn't regarded as a delimiter by php_basename()? No, browsers send filenames however they like, we cannot assume anything since ultimately someone could doctor a request. On *NIX, ¥ would be ignored and continue being part of the filename. In effect keeping the original supplied file name in play. The magic quotes code only results in a file being trimmed @ a ' or " character, the previous code already trimmed it at either ¥ or /, which ever appeared last. Ilia

« previous php.cvs (#30064) next »