php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1785 apconf-conv.sh corrupts httpd.conf
Submitted: 1999-07-21 03:52 UTC Modified: 1999-08-07 11:33 UTC
From: sam at campbellsci dot co dot uk Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0 Beta 1 OS: redhat 5.2
Private report: No CVE-ID: None
 [1999-07-21 03:52 UTC] sam at campbellsci dot co dot uk
The pattern in conffix.awk:

/php3_*/

is a little *too* general and plays silly idiots where php3_ may be part of an alias, etc etc

/^ *php3_*/

is perhaps a little more secure and works for me.  Maybe it should match leading tabs as well as spaces however you do that in awk

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-07 11:33 UTC] zeev at cvs dot php dot net
Improved as suggested
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 11 12:01:33 2024 UTC