#45519 [Opn->Fbk]: getimagesize() returns error 404 when no DNS AAAA answer (IPV6 failure)
| From: | jani@php.net | Date: | Fri, 13 Mar 2009 13:35:15 +0000 |
| Subject: | #45519 [Opn->Fbk]: getimagesize() returns error 404 when no DNS AAAA answer (IPV6 failure) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-134670@lists.php.net to get a copy of this message | ||
ID: 45519
Updated by: jani@php.net
Reported By: yann dot jouanin at intelunix dot fr
-Status: Open
+Status: Feedback
Bug Type: GetImageSize related
Operating System: Gentoo 2007.1
PHP Version: 5.2.6
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
Previous Comments:
------------------------------------------------------------------------
[2008-07-15 12:26:33] yann dot jouanin at intelunix dot fr
Description:
------------
With --enable-ipv6 on php, when using getimagesize with a url as
argument the sequence is the following :
DNS request :
AAAA : ipv6 request
AA : alias
and A : name
When there isn't any answer for the AAAA request, getimagesize return
Error 404.
With the ipv6 support disable, everything is ok.
Reproduce code:
---------------
$answer =
getimagesize("http://ecx.images-amazon.com/images/I/51o-TDjsaZL._SL110_PIsitb-sm-arrow,TopRight,13,-17_OU01_.jpg");
Expected result:
----------------
Should give the size
Actual result:
--------------
Returns error 404
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45519&edit=1