php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #40499 Add highlightning filter
Submitted: 2007-02-15 18:31 UTC Modified: 2021-07-30 11:56 UTC
Votes:2
Avg. Score:3.0 ± 2.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:2 (100.0%)
From: php at henke37 dot cjb dot net Assigned: cmb (profile)
Status: Wont fix Package: Apache2 related
PHP Version: * OS: *
Private report: No CVE-ID: None
 [2007-02-15 18:31 UTC] php at henke37 dot cjb dot net
Description:
------------
The apache2 sapi does not provide an easy way to invoke the file highlighter as an normal filter.

Reproduce code:
---------------
Apache config example:
SetOutputFilter PHP-highlight

Expected result:
----------------
It should work and highlight the files that the config line applies to.

Actual result:
--------------
It will cause apache to not accept the config complaining about the filter not known

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-31 21:09 UTC] jani@php.net
-Summary: filter sapi does not register any highlightning filter +Summary: Add highlightning filter -Package: Feature/Change Request +Package: Apache2 related -Operating System: any +Operating System: * -PHP Version: 6CVS-2007-02-15 (CVS) +PHP Version: *
 [2021-07-30 11:56 UTC] cmb@php.net
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2021-07-30 11:56 UTC] cmb@php.net
If you still feel that highlighting of PHP sources is important
enought to be supported by php-src (instead of some library, maybe
not even running on the server), please pursue the RFC process[1].

[1] <https://wiki.php.net/rfc/howto>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 10 18:01:28 2024 UTC