#41892 [NEW]: url separating related

From: Date: Wed, 04 Jul 2007 09:04:21 +0000
Subject: #41892 [NEW]: url separating related
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-114645@lists.php.net to get a copy of this message
From: a dot fokin at new-vision dot com Operating system: windows PHP version: 5.2.3 PHP Bug Type: *General Issues Bug description: url separating related Description: ------------ when i try to http authenticate by url with user name, containing '@', i got '6' returned. Reproduce code: --------------- <?php $ch = curl_init(); curl_setopt( $ch, CURLOPT_URL, "http://a.fokin@new-vision.com:foksas@www.example.com" ); curl_setopt($ch, CURLOPT_HEADER, 0); curl_exec($ch); $errno = curl_errno($ch); echo $errno; ?> Expected result: ---------------- You have reached this web page by typing "example.com", "example.net", or "example.org" into your web browser. These domain names are reserved for use in documentation and are not available for registration. See RFC 2606, Section 3. /0/ Actual result: -------------- /6/ -- Edit bug report at http://bugs.php.net/?id=41892&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41892&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41892&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41892&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41892&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41892&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41892&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41892&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41892&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41892&r=support Expected behavior: http://bugs.php.net/fix.php?id=41892&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41892&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41892&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41892&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41892&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41892&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41892&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41892&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41892&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41892&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41892&r=mysqlcfg

« previous php.bugs (#114645) next »