#48550 [Opn->Fbk]: cURL does not work when the URL has a â character in it.
| From: | jani@php.net | Date: | Mon, 15 Jun 2009 14:31:33 +0000 |
| Subject: | #48550 [Opn->Fbk]: cURL does not work when the URL has a â character in it. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-138320@lists.php.net to get a copy of this message | ||
ID: 48550
Updated by: jani@php.net
Reported By: victorepand at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: cURL related
Operating System: FreeBSD
PHP Version: 5.2.9
New Comment:
What error does it give? See http://www.php.net/curl_error
Previous Comments:
------------------------------------------------------------------------
[2009-06-14 17:13:56] victorepand at gmail dot com
Description:
------------
cURL does not work when the URL has a â character in it. Such as, for
example, this one:
http://www.motorcycle-superstore.com/ProductImages/60/2009_GMax_Womenâs_GM17_Derk_Open-Face_Helmet.jpg
Reproduce code:
---------------
$ch=curl_init();
$url="http://www.motorcycle-superstore.com/ProductImages/60/2009_GMax_Womenâs_GM17_Derk_Open-Face_Helmet.jpg"
curl_setopt($ch,CURLOPT_URL,$url);
$result=curl_exec ($ch);
Expected result:
----------------
thumbnail image in binary stored in result
Actual result:
--------------
curl error
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48550&edit=1