Zend
200-710 · Question #154
Which function can NOT help prevent cross-site scripting? (Choose 2)
The correct answer is A. addslashes() E. quotemeta(). See the full explanation below for the reasoning.
Security
Question
Which function can NOT help prevent cross-site scripting? (Choose 2)
Options
- Aaddslashes()
- Bhtmlentities()
- Chtmlspecialchars()
- Dstrip_tags()
- Equotemeta()
How the community answered
(27 responses)- A74% (20)
- B4% (1)
- C7% (2)
- D15% (4)
Topics
#XSS prevention#addslashes#quotemeta#output encoding
Community Discussion
No community discussion yet for this question.