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

Accept referrer if origin is not available #1739

Merged
merged 2 commits into from
Jun 6, 2024

Conversation

RebeccaMahany
Copy link
Contributor

@RebeccaMahany RebeccaMahany commented Jun 6, 2024

When the request to localserver comes from an image tag, we may not have the origin header -- but we will still have the referrer. We can validate that instead.

@RebeccaMahany RebeccaMahany changed the title Accept referer if origin is not available Accept referrer if origin is not available Jun 6, 2024
directionless
directionless previously approved these changes Jun 6, 2024
@RebeccaMahany RebeccaMahany marked this pull request as ready for review June 6, 2024 21:05
@RebeccaMahany RebeccaMahany added this pull request to the merge queue Jun 6, 2024
Merged via the queue into kolide:main with commit 6ec1422 Jun 6, 2024
29 checks passed
@RebeccaMahany RebeccaMahany deleted the becca/referer branch June 6, 2024 22:11
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.

3 participants