php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11682 phpinfo needs to strip or not escape html tags
Submitted: 2001-06-25 22:50 UTC Modified: 2001-06-26 06:56 UTC
From: dphillips at vsni dot com Assigned:
Status: Closed Package: PHP options/info functions
PHP Version: 4.0.6 OS: FreeBSD 4.3-STABLE
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dphillips at vsni dot com
New email:
PHP Version: OS:

 

 [2001-06-25 22:50 UTC] dphillips at vsni dot com
<? phpinfo(); ?>

The phpinfo function needs to either strip HTML tags from the output lines, or it needs to not escape them.  Some examples from the returned table (HTML tags are intentional, as that is the output):

Max Requests Per Child: 0<br>Keep Alive: on<br>Max Per Connection: 100

SERVER_SIGNATURE <ADDRESS>Apache/1.3.20 Server at cvs.vsni.com Port 80</ADDRESS> 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-26 06:56 UTC] sniper@php.net
This is intentional. All html is now escaped in phpinfo() output.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 07:01:30 2024 UTC