#24892 [NEW]: fopening a remote FTP server

From: Date: Thu, 31 Jul 2003 18:47:27 +0000
Subject: #24892 [NEW]: fopening a remote FTP server
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-45130@lists.php.net to get a copy of this message
From: php at lostair dot net Operating system: Irrelevant PHP version: Irrelevant PHP Bug Type: FTP related Bug description: fopening a remote FTP server Description: ------------ There are problems when the @(AT) character is contained within the username through a fopen statement. In the following exampls, there are no escape characters utilised. However, this doesn't help the matter either. I previously send in a Bug report for the same situation with the phase_url - but was classed as a bogus. So, where is the problem then? As it is possible to have a @(AT) sign within the user name. Reproduce code: --------------- $handle = fopen("fttp://user@dna.com:password@ftp.host.com","rw"); // user="user@dna.com" // password = "password" // host = "ftp.dnacpu.com" Expected result: ---------------- For the file to be successfully accessed Actual result: -------------- No Connection, due to the problem that there are two AT signs contains within the URL. -- Edit bug report at http://bugs.php.net/?id=24892&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24892&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24892&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=24892&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24892&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24892&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24892&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24892&r=support Expected behavior: http://bugs.php.net/fix.php?id=24892&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24892&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24892&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24892&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24892&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24892&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24892&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24892&r=gnused

« previous php.bugs (#45130) next »