|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62314 strip_tags - Only one iteration
Submitted: 2012-06-13 15:31 UTC Modified: 2012-06-14 12:09 UTC
From: FireFart at gmail dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: FireFart at gmail dot com
New email:
PHP Version: OS:


 [2012-06-13 15:31 UTC] FireFart at gmail dot com
The "strip_tags" function strips tags only in one iteration.
So the following string can be used to bypass the strip_tags functionality.
I'm not sure if it's a bug or a documentation issue, because a warning on the docs would also do the job.

Test script:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-13 15:35 UTC] FireFart at gmail dot com
-Status: Open +Status: Closed
 [2012-06-13 15:35 UTC] FireFart at gmail dot com
 [2012-06-14 12:09 UTC]
-Status: Closed +Status: Not a bug
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Feb 25 09:01:26 2024 UTC