File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 5252
5353
5454##### 过滤输入
55- - [ ] ` Sanitize ` all user inputs or any input parameters exposed to user to prevent [ XSS] ( https://en.wikipedia.org/wiki/Cross-site_scripting ) .
56- - [ ] Always use parameterized queries to prevent [ SQL Injection ] ( https://en.wikipedia.org/wiki/SQL_injection ) .
55+ - [ ] 所有暴露给用户的参数输入都应该 ` 过滤 ` 防止 [ XSS] ( https://en.wikipedia.org/wiki/Cross-site_scripting ) 攻击 .
56+ - [ ] 使用参数化的查询防止 [ SQL 注入 ] ( https://en.wikipedia.org/wiki/SQL_injection ) .
5757- [ ] Sanitize user input if using it directly for functionalities like CSV import.
5858- [ ] ` Sanitize ` user input for special cases like robots.txt as profile names in case you are using a url pattern like coolcorp.io/username.
5959- [ ] Do not hand code or build JSON by string concatenation ever, no matter how small the object is. Use your language defined libraries or framework.
You can’t perform that action at this time.
0 commit comments