|  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
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.
Bug Type:
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
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: Thu Jan 23 09:01:24 2020 UTC