tzssangglass commented on a change in pull request #5727:
URL: https://github.com/apache/apisix/pull/5727#discussion_r775945667



##########
File path: docs/zh/latest/plugins/csrf.md
##########
@@ -0,0 +1,127 @@
+---
+title: csrf
+---
+
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
+## 目录
+
+- [**简介**](#简介)
+- [**属性**](#属性)
+- [**如何启用**](#如何启用)
+- [**测试插件**](#测试插件)
+- [**禁用插件**](#禁用插件)
+
+## 简介
+
+`CSRF` 插件基于 `Double Submit Cookie` 的方式,保护您的 API 免于 CSRF 攻击。
+
+## 属性
+
+| Name             | Type    | Requirement | Default | Valid | Description     
                                             |
+| ---------------- | ------- | ----------- | ------- | ----- | 
------------------------------------------------------------ |
+|   name   |  string |    false    | `apisix_csrf_token`  |    | 生成的 Cookie 中的 
token 的名字,需要使用这个名字从 Cookie 中读取 |

Review comment:
       `需要使用这个名字从 Cookie 中读取` is strange




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to