#48991 [NEW]: JPG -> JPEG change breaks things
| From: | colin at viebrock dot ca | Date: | Mon, 20 Jul 2009 21:31:59 +0000 |
| Subject: | #48991 [NEW]: JPG -> JPEG change breaks things | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-139983@lists.php.net to get a copy of this message | ||
From: colin at viebrock dot ca
Operating system: Linux
PHP version: 5.3.0
PHP Bug Type: GD related
Bug description: JPG -> JPEG change breaks things
Description:
------------
We recently upgraded to 5.3.0. The change made here:
http://svn.php.net/viewvc?view=revision&revision=277688
has had the unintended effect of breaking some applications that rely on
gd_info() to test for JPEG support (specifically in my case the
Textpattern blogging engine). Neither the manual nor the migration
notes made reference to this.
Not a big deal, but was this really required? I suppose the person
posting bug #47757 thought so!
Reproduce code:
---------------
var_dump(gd_info())
Expected result:
----------------
... ["JPG Support"]=> bool(true) ...
Actual result:
--------------
... ["JPEG Support"]=> bool(true) ...
--
Edit bug report at http://bugs.php.net/?id=48991&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48991&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48991&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48991&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=48991&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=48991&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=48991&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=48991&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=48991&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=48991&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=48991&r=support
Expected behavior: http://bugs.php.net/fix.php?id=48991&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=48991&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=48991&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=48991&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48991&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=48991&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=48991&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=48991&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=48991&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=48991&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=48991&r=mysqlcfg