Doc #64601 [Opn->Csd]: must document since which version imagecreatefromgif correctly handles any path

From: Date: Wed, 31 Mar 2021 10:43:03 +0000
Subject: Doc #64601 [Opn->Csd]: must document since which version imagecreatefromgif correctly handles any path
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18677@lists.php.net to get a copy of this message
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)

« previous php.doc.bugs (#18677) next »