In this new post to his blog Gareth Heyes points out a legacy issue that those running older PHP4-based code might want to look into:
I thought about something I found ages ago in PHP4 and it's been long enough now.
This is also quite funny because my server is vulnerable to this. So what happens if you escape PHP_SELF with htmlentities($_SERVER['PHP_SELF'], ENT_QUOTES)?
Safe from XSS? I hope so. Safe from everything? Well not really or at...
Post new comment