Django Book 翻译
菜单>:
TOC
返回
原文:
2. On all incoming ``POST`` requests that have the session cookie set, it checks that ``csrfmiddlewaretoken`` is present and correct. If it isnt, the user will get a 403 ``HTTP`` error. The content of the 403 error page is the message Cross Site Request Forgery detected. Request aborted.
翻译:
2. 对于所有含会话 cookie 集合的传入 ``POST`` 请求,它将检查是否存在 ``csrfmiddlewaretoken`` 及其是否正确。如果不是的话,用户将会收到一个 403 ``HTTP`` 错误。403 错误页面的内容是消息:检测到跨站伪装请求。请求被终止。”
备注:
译者: