Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xss过滤 #307

Open
maocw opened this issue Nov 1, 2016 · 2 comments
Open

xss过滤 #307

maocw opened this issue Nov 1, 2016 · 2 comments

Comments

@maocw
Copy link

maocw commented Nov 1, 2016

markdown现在不支持xss过滤吧,在编辑的时候,写一个alert,会及时执行诶

@maocw
Copy link
Author

maocw commented Nov 1, 2016

请教一下你们主页是如何在页面上过滤xss的

@wazsmwazsm
Copy link

获取文本时不要直接存库里面,对数据进行XSS过滤一下再存,用框架的化基本都有XSS过滤的函数、类库这些可以使用,没使用框架可以自己写。

alromh87 added a commit to alromh87/editor.md that referenced this issue Sep 10, 2020
fixes #pandao#612
fixes #pandao#662
fixes #pandao#697
fixes #pandao#700
fixes #pandao#701
fixes #pandao#709
fixes #pandao#715
fixes #pandao#764
fixes #pandao#816

### Probably:
fixes #pandao#307
fixes #pandao#560
alromh87 added a commit to alromh87/editor.md that referenced this issue Sep 10, 2020
fixes #pandao#612
fixes #pandao#662
fixes #pandao#697
fixes #pandao#700
fixes #pandao#701
fixes #pandao#709
fixes #pandao#715
fixes #pandao#764
fixes #pandao#816

fixes #pandao#307
fixes #pandao#560
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants