News Feed
Jobs Feed
Sections




News Archive
Pádraic Brady:
PHP Escaper RFC Consistent Escaping Functionality For Killing XSS
September 19, 2012 @ 13:02:59

There's been a lot of chatter about a recent RFC from Pádraic Brady on the php.internals maling list - his proposal to add native escaping to the PHP core. He shares some of his own thoughts about the proposal in a new post to his site.

A short time ago today, I submitted a PHP RFC for discussion which proposes adding an SPL Escaper class and, quite possibly, a related set of functions dedicated to escaping data for output to HTML/XML to PHP: https://wiki.php.net/rfc/escaper. The RFC itself should be a good read if you want to understand why I'm proposing this but the basics are quite simple. Cross-Site Scripting (XSS) is one of the two most common security vulnerabilities in web applications - the other being SQL Injection. Despite this, PHP's offering of escaping functions is extremely limited.

He talks about what problems the proposed solution solves and how it could help protect PHP programmers more effectively than the more complicated methods they have to go through now. If you're interested in reading the conversations so far, you can start here and walk through the messages.

0 comments voice your opinion now!
rfc proposal escaping core proposal phpinternals discussion


blog comments powered by Disqus

Similar Posts

Dennis Chung's Blog: Server Core + IIS7 + PHP + MySQL (and Wordpress)

InfoWorld: PHP extended to IBM midrange line

Pádraic Brady's Blog: Progress update on Zend_Service_Yadis

Paul Gregg's Blog: PHP on LinkedIn.com

Marco Tabini's Blog: Is PHP running out of itches to scratch?


Community Events











Don't see your event here?
Let us know!


tool functional unittest release object testing framework interview example series code composer development opinion zendframework2 community podcast introduction language phpunit

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework