Briefing Zend Knowledge

Which of the following filtering techniques prevents cross-site scripting (XSS) vulnerabilities?

Which of the following filtering techniques prevents cross-site scripting (XSS) vulnerabilities?

A.
Strip all occurrences of the string script.

B.
Strip all occurrences of the stringjavascript.

C.
Enablemagic_quotes_gpc.

D.
None of the above.