Home >Backend Development >PHP Tutorial >Rich text editor - Will the target='_blank' of the a tag be filtered out when PHP receives rich text? ?

Rich text editor - Will the target='_blank' of the a tag be filtered out when PHP receives rich text? ?

PHP中文网
PHP中文网Original
2016-08-23 09:17:431940browse

Rich text editor - Will the target="_blank" of the a tag be filtered out when PHP receives rich text? ?

The reason is due to the use of xss filtering

Reply content:

The reason is due to the use of xss filtering

The above is the rich text editor - when PHP receives rich text, the target="_blank" of the a tag will be filtered out ? ? For more related content, please pay attention to the PHP Chinese website (www.php.cn)!


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn