ID:               41892
 User updated by:  a dot fokin at new-vision dot com
-Summary:          url separating related
 Reported By:      a dot fokin at new-vision dot com
 Status:           Bogus
 Bug Type:         cURL related
 Operating System: windows
 PHP Version:      5.2.3
 New Comment:

I am 99,5% sure, that this is not a support or development question.

When i use http://111:[EMAIL PROTECTED] - everything is fine,
but when i use http://[EMAIL PROTECTED]:[EMAIL PROTECTED] - curl reads it
as if username is `111`, no password given and actual url (host) is
`111.111:[EMAIL PROTECTED], which is wrong url parsing.

I'm not asking here for help or feedback (in some case ;)). Just want
to make sure, that you actually read current "bogus" description and
understand what is the problem. 

And sorry for spam if i am wrong ;).


Previous Comments:
------------------------------------------------------------------------

[2007-07-04 11:53:28] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.



------------------------------------------------------------------------

[2007-07-04 09:04:21] a dot fokin at new-vision dot com

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://[EMAIL PROTECTED]:[EMAIL PROTECTED]"
);
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 this bug report at http://bugs.php.net/?id=41892&edit=1

Reply via email to