Bug #73334 [NEW]: getimagesize is not working although allow_url_fopen = On

From: Date: Mon, 17 Oct 2016 15:42:59 +0000
Subject: Bug #73334 [NEW]: getimagesize is not working although allow_url_fopen = On
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-204873@lists.php.net to get a copy of this message
From: xuathang at shopqua dot com Operating system: Windows Server 2008 PHP version: 5.6.27 Package: GetImageSize related Bug Type: Bug Bug description:getimagesize is not working although allow_url_fopen = On Description: ------------ The below code is working fine in php-5.6.26-nts-Win32-VC11-x64 but not working in php-5.6.27-nts-Win32-VC11-x64 (although allow_url_fopen = On): Test script: --------------- $from_path = 'https://fbcdn-photos-b-a.akamaihd.net/hphotos-ak-xpf1/v/t1.0-0/p320x320/14370381_1121664761255364_721077709461102630_n.png?oh=f6e5bdfbde8ad5cfda137476e2b5bf97&oe=5872A162&__gda__=1483223263_661dfde8b0e24e6a91903f6abb62fba1'; $image_info = getimagesize($from_path); var_dump($image_info); Expected result: ---------------- $image_info is not bool(false) -- Edit bug report at https://bugs.php.net/bug.php?id=73334&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73334&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73334&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73334&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=73334&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=73334&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=73334&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=73334&r=needscript Try newer version: https://bugs.php.net/fix.php?id=73334&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=73334&r=support Expected behavior: https://bugs.php.net/fix.php?id=73334&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=73334&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=73334&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=73334&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73334&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=73334&r=dst IIS Stability: https://bugs.php.net/fix.php?id=73334&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=73334&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=73334&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=73334&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=73334&r=mysqlcfg

« previous php.bugs (#204873) next »