This commit is contained in:
Steve Rao 2019-03-23 22:17:00 +08:00 committed by GitHub
parent 9fa916e180
commit b519cb9a67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@
### 1. 设置 Cookie 为 HttpOnly ### 1. 设置 Cookie 为 HttpOnly
设置了 HttpOnly 的 Cookie 可以防止 JavaScript 脚本调用,就无法通过 document.cookie 获取用户 Cookie 信息。 设置了 HttpOnly 的 Cookie 可以防止 JaScript 脚本调用,就无法通过 document.cookie 获取用户 Cookie 信息。
### 2. 过滤特殊字符 ### 2. 过滤特殊字符