Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update csrf trusted origins in settings #1985

Merged

Conversation

rolin999
Copy link
Collaborator

Description

修复 Django 4.x 版本 settings.py 中 CSRF_TRUSTED_ORIGINS 必须以 scheme (http:// 或 https://) 开头

Checklist

  • 填写 PR 描述及相关 issue (write PR description and related issue)
  • 代码风格检查通过 (code style check passed)
  • PR 中包含单元测试 (include unit test)
  • 单元测试通过 (unit test passed)
  • 本地开发联调环境验证通过 (local development environment verification passed)

@nannan00 nannan00 merged commit 1a0fb97 into TencentBlueKing:main Nov 21, 2024
8 checks passed
JoJohw added a commit to JoJohw/bk-user that referenced this pull request Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants