Skip to content

Conversation

@jombooth
Copy link
Contributor

@jombooth jombooth commented Sep 9, 2024

host is just localhost when LSO is running in docker; http_host has the port number. If the port number isn't present in the result from get_host, this check will fail: https://github.com/django/django/blob/stable/4.2.x/django/middleware/csrf.py#L277-L288

@github-actions github-actions bot added the fix label Sep 9, 2024
@netlify
Copy link

netlify bot commented Sep 9, 2024

Deploy Preview for heartex-docs canceled.

Name Link
🔨 Latest commit 6a2a612
🔍 Latest deploy log https://app.netlify.com/sites/heartex-docs/deploys/66de7a5deb29770008793584

@netlify
Copy link

netlify bot commented Sep 9, 2024

Deploy Preview for label-studio-docs-new-theme canceled.

Name Link
🔨 Latest commit 6a2a612
🔍 Latest deploy log https://app.netlify.com/sites/label-studio-docs-new-theme/deploys/66de7a5db2848900086e3692

@jombooth jombooth merged commit 758e0fd into develop Sep 9, 2024
@TheAIWizard
Copy link

Hi,

I'm still encountering the 403 Forbidden error related to CSRF, mentioned in #6296, even after updating to version 1.14.0, which was supposed to address the CSRF errors when using Docker (#6344).

Could you please assist with resolving this?

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants