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://[EMAIL PROTECTED]:[EMAIL PROTECTED]","rw");

//  user="[EMAIL PROTECTED]"
//  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

Reply via email to