php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43923 ini scanner silently ignores "{"
Submitted: 2008-01-23 18:00 UTC Modified: 2008-02-04 20:45 UTC
From: develar at gmail dot com Assigned: jani (profile)
Status: Closed Package: *General Issues
PHP Version: 5.3CVS-2008-01-23 (snap) OS: Linux 2.6.22.13-0.3 openSUSE
Private report: No CVE-ID: None
 [2008-01-23 18:00 UTC] develar at gmail dot com
Description:
------------
set in php.ini any parameter = "{" is ignored (i. e. "no value")

Reproduce code:
---------------
;php.ini
date.timezone = "{"

Expected result:
----------------
{

Actual result:
--------------
no value

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-26 00:54 UTC] jani@php.net
Why would you pass such value anyway? :)
 [2008-01-26 05:58 UTC] develar at gmail dot com
>> Why would you pass such value anyway? :)
I use blitz - "blitz.tag_open = {". date.timezone as example :)
 [2008-02-04 20:36 UTC] jani@php.net
Note: Using single quotes is much better idea when passing weird data in php.ini values..
 [2008-02-04 20:45 UTC] jani@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 08:01:35 2025 UTC