php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #52821 Add function for replacing @, { and } for HTML output
Submitted: 2010-09-12 06:50 UTC Modified: 2010-09-12 23:23 UTC
From: f dot grutschus at lubyte dot de Assigned:
Status: Not a bug Package: Strings related
PHP Version: 5.3.3 OS: All
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: f dot grutschus at lubyte dot de
New email:
PHP Version: OS:

 

 [2010-09-12 06:50 UTC] f dot grutschus at lubyte dot de
Description:
------------
Please add a function that replaces @, { and } to the HTML equivalents &#123, &#125, and &#64.

This would developers help to secure their applications from CSS data theft.

See http://www.owlfolio.org/htmletc/css-data-theft/ and http://websec.sv.cmu.edu/css/css.pdf.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-09-12 23:23 UTC] johannes@php.net
-Status: Open +Status: Bogus
 [2010-09-12 23:23 UTC] johannes@php.net
The function exits. It i called str_replace.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Dec 10 07:01:24 2019 UTC