Req #52821 [Opn->Bgs]: Add function for replacing @, { and } for HTML output

From: Date: Sun, 12 Sep 2010 21:23:23 +0000
Subject: Req #52821 [Opn->Bgs]: Add function for replacing @, { and } for HTML output
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-154275@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=52821&edit=1 ID: 52821 Updated by: johannes@php.net Reported by: f dot grutschus at lubyte dot de Summary: Add function for replacing @, { and } for HTML output -Status: Open +Status: Bogus Type: Feature/Change Request Package: Strings related Operating System: All PHP Version: 5.3.3 Block user comment: N New Comment: The function exits. It i called str_replace. Previous Comments: ------------------------------------------------------------------------ [2010-09-12 06:50:43] 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52821&edit=1

« previous php.bugs (#154275) next »