Baoyuan
|
4d52c3e8e6
|
feat: add CSRF plugin (#5727)
* feat: add csrf plugin
* fix: format code
* feat: add plugin docs
* fix: adjust code
* fix: add docs in config.json
* fix: add plugin in plugins.t
* fix: format code
* Update apisix/plugins/csrf.lua
Co-authored-by: tzssangglass <tzssangglass@gmail.com>
* docs: modify inappropriate descriptions
* fix: change read cookie method
* fix: change variable name and add two blank lines
* Update docs/en/latest/plugins/csrf.md
Co-authored-by: 罗泽轩 <spacewanderlzx@gmail.com>
* fix: add SameSite for cookie
* fix: move plugin name
* test: fix plugins test
* Update docs/zh/latest/plugins/csrf.md
Co-authored-by: 琚致远 <juzhiyuan@apache.org>
* fix: improved documentation
* docs: optimize documents
* test: add some tests
* fix: lint test code
* test: perfect test
* fix: lint code
* fix: update test
* test: add space before number
* fix: optimization code
* Update apisix/plugins/csrf.lua
Co-authored-by: Bisakh <bisakhmondal00@gmail.com>
Co-authored-by: tzssangglass <tzssangglass@gmail.com>
Co-authored-by: 罗泽轩 <spacewanderlzx@gmail.com>
Co-authored-by: 琚致远 <juzhiyuan@apache.org>
Co-authored-by: Bisakh <bisakhmondal00@gmail.com>
|
2022-01-18 13:48:01 +05:30 |
|