SplFileObject doesn't initialise default CSV escape character
| Bug #53279 | SplFileObject doesn't initialise default CSV escape character | ||||
|---|---|---|---|---|---|
| Submitted: | 2010-11-09 15:50 UTC | Modified: | 2010-11-09 15:54 UTC | ||
| From: | aharvey@php.net | Assigned: | aharvey (profile) | ||
| Status: | Closed | Package: | SPL related | ||
| PHP Version: | trunk-SVN-2010-11-09 (SVN) | OS: | Irrelevant | ||
| Private report: | No | CVE-ID: | None | ||
[2010-11-09 15:50 UTC] aharvey@php.net
Description: ------------ While the default CSV enclosure and delimiter are properly initialised, SplFileObject never explicitly initialises the default escape character within instances after the structure in question is first zeroed with memset(), which means it defaults to (char) 0. All other CSV related functions in PHP default to \ as the escape character as of 5.3. Fix forthcoming; I'm just opening this so it's searchable and to get a bug number for the NEWS.
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2010-11-09 15:54 UTC] aharvey@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: aharvey
[2010-11-09 15:54 UTC] aharvey@php.net