Skip to content

Commit c9a073a

Browse files
committed
fix link
1 parent ac77447 commit c9a073a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/zh-CN/security.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ www.attacker.com 的日志文件中将出现类似这样的一条记录:
748748
http://www.cbsnews.com/stories/2002/02/15/weather_local/main501644.shtml?zipcode=1-->
749749
<script src=http://www.securitylab.ru/test/sc.js></script><!--
750750

751-
##### 对策
751+
##### 跨站脚本对策
752752

753753
TIP: 过滤恶意输入非常重要,但是转义 Web 应用的输出同样也很重要。
754754

@@ -866,7 +866,7 @@ RedCloth.new("<a href='javascript:alert(1)'>hello</a>", [:filter_html]).to_html
866866

867867
#### 对策
868868

869-
建议将 RedCloth 和白名单输入过滤器结合使用,具体操作请参考 [对策](#对策)
869+
建议将 RedCloth 和白名单输入过滤器结合使用,具体操作请参考 [跨站脚本对策](#跨站脚本对策)
870870

871871
### Ajax 注入
872872

0 commit comments

Comments
 (0)