php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #53684 Deprecated HTML in sample php.ini
Submitted: 2011-01-07 03:18 UTC Modified: 2011-01-07 04:43 UTC
From: gengel at sonoma dot lib dot ca dot us Assigned: aharvey (profile)
Status: Closed Package: PHP options/info functions
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2011-01-07 03:18 UTC] gengel at sonoma dot lib dot ca dot us
Description:
------------
The error_prepend_string and error_append_string settings in the php.ini sample file contain font tags.  Font is deprecated since 1999 (http://www.w3.org/TR/1999/REC-html401-19991224/present/graphics.html#edef-FONT) and should be replaced with span.  The "Expected result" shows this section of php.ini with the suggested change, and the "Actual result" shows the same section of php.ini as it is currently shipping. 

Expected result:
----------------
; String to output before an error message. PHP's default behavior is to leave
; this setting blank.
; http://php.net/error-prepend-string
; Example:
;error_prepend_string = '<span style="color:#ff0000">'

; String to output after an error message. PHP's default behavior is to leave
; this setting blank.
; http://php.net/error-append-string
; Example:
;error_append_string = '</span>'

Actual result:
--------------
; String to output before an error message. PHP's default behavior is to leave
; this setting blank.
; http://php.net/error-prepend-string
; Example:
;error_prepend_string = "<font color=#ff0000>"

; String to output after an error message. PHP's default behavior is to leave
; this setting blank.
; http://php.net/error-append-string
; Example:
;error_append_string = "</font>"

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-07 04:23 UTC] aharvey@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: aharvey
 [2011-01-07 04:43 UTC] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=307206
Log: Implement request #53684 (Deprecated HTML in sample php.ini).
 [2011-01-07 04:43 UTC] aharvey@php.net
-Status: Assigned +Status: Closed
 [2011-01-07 04:43 UTC] aharvey@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Jan 21 03:01:23 2021 UTC