php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58610 fix EOL parsing and restrict php_flag values
Submitted: 2009-04-02 07:01 UTC Modified: 2009-04-05 18:41 UTC
From: bhuisgen at hbis dot fr Assigned: pajoye (profile)
Status: Closed Package: htscanner (PECL)
PHP Version: 5.2.8 OS: MacOS X 10.5
Private report: No CVE-ID: None
 [2009-04-02 07:01 UTC] bhuisgen at hbis dot fr
Description:
------------
htscanner doesn't parse correctly EOL characters especially the newline character (\n) which is not eated. I've done this patch to fix it for all platforms.

A other change force the use of on/off boolean values for php_flag. The numeric values are not accepted.

Reproduce code:
---------------
http://blog.hbis.fr/2009/04/02/htscanner-parser-patch/

Patch : http://blog.hbis.fr/2009/04/02/htscanner-parser-patch/patch-htscanner-parser-20090401/




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-02 07:39 UTC] pierre dot php at gmail dot com
hi,

thanks for the patch. By the way, interested to give a hand to maintain htscanner?
 [2009-04-02 09:05 UTC] bhuisgen at hbis dot fr
Thank you, I'm interested.
 [2009-04-05 18:41 UTC] bhuisgen at hbis dot fr
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Nov 17 04:01:31 2019 UTC