Re: [PRES] Encoding HTML output

From: Date: Fri, 14 Nov 2003 17:20:07 +0000
Subject: Re: [PRES] Encoding HTML output
References: 1  Groups: php.pres 
Request: Send a blank email to pres+get-905@lists.php.net to get a copy of this message
--- Adam Maccabee Trachtenberg <adam@trachtenberg.com> wrote: > We currently do not (or rarely) call htmlspecialchars() on text that > we're displaying in HTML slides. I'd like to fix this to prevent > broken output. This sounds like a good idea. > You can work around this by doing the encoding yourself inside your > slides, but this produces broken PDFs. > > However, making this change could/would? break existing slides that are > manually implementing the work-around because you'll end up with > double entity-encoded output. > > Before I set off to explore this, does anyone know if this will cause > serious breakage or have a better idea? I can only speak for myself, but it won't break any of my slides. Perhaps we can grep through all of the presentations for some of the more common entities to see if anyone has done this manually? My guess is that no one has, but a guess seems riskier than a grep. :-) Chris ===== Chris Shiflett - http://shiflett.org/ PHP Security Handbook Coming mid-2004 HTTP Developer's Handbook http://httphandbook.org/ RAMP Training Courses http://www.nyphp.org/ramp

« previous php.pres (#905) next »