|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
36 - 23 = ?
Subscribe to this entry?

 [2010-09-12 06:50 UTC] f dot grutschus at lubyte dot de
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 and


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-09-12 23:23 UTC]
-Status: Open +Status: Bogus
 [2010-09-12 23:23 UTC]
The function exits. It i called str_replace.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Jan 21 17:01:24 2020 UTC