Doc #64601 [Opn->Csd]: must document since which version imagecreatefromgif correctly handles any path
Edit report at https://bugs.php.net/bug.php?id=64601&edit=1
ID: 64601
Updated by: cmb@php.net
Reported by: matteosistisette at gmail dot com
Summary: must document since which version imagecreatefromgif
correctly handles any path
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: GD related
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
> X is somewhere between 5.1.6 and 5.4.6.
The PHP manual is no longer supposed to document PHP 5 behavior.
Previous Comments:
------------------------------------------------------------------------
[2013-04-07 00:38:05] matteosistisette at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.imagecreatefromgif#refsect1-
function.imagecreatefromgif-description
---
Information is missing about since which version of PHP imagecreatefromgif()
correctly handles all paths. This is VITAL and must be specified.
Prior to some version X of PHP, imagecreatefromgif doesn't handle correctly
paths like "/foo/bar/../myfolder/myfile.gif". It gives a bogus error message
saying the file is not a valid gif file.
Starting from version X, it works as expected in all cases and resolves such
path to the correct path, e.g. "/foo/myfolder/myfile.gif".
X is somewhere between 5.1.6 and 5.4.6.
I guess the same happens with all imagecreatefrom*()
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64601&edit=1
Thread (2 messages)