php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66692 "parse" flag left On after </IfModule>
Submitted: 2014-02-11 04:42 UTC Modified: 2014-02-11 04:52 UTC
From: ache666 at gmail dot com Assigned: martynas (profile)
Status: Closed Package: htscanner (PECL)
PHP Version: 5.5.9 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ache666 at gmail dot com
New email:
PHP Version: OS:

 

 [2014-02-11 04:42 UTC] ache666 at gmail dot com
Description:
------------
See this code in htscanner.c:
                       if (!strcasecmp(tok, "<IfModule")) {
                                TOKEN(tok, FILE_SEPARATOR);
                                parse = !strcmp(tok, MOD_PHP(PHP_MAJOR_VERSION) ">");
                        } else if (!strcasecmp(tok, "</IfModule>")) {
                                parse = 1;
If I read it correctly, last line should be "parse = 0;"


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-02-11 04:52 UTC] martynas@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: martynas
 [2014-02-11 04:52 UTC] martynas@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

No.  We want to parse everything outside </IfModule> context;  and ignore everything inside <IfModule> context if PHP_MAJOR_VERSION doesn't match.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC