Skip to content

check origin header#20

Merged
jraymakers merged 1 commit intomainfrom
jray/check-origin-header
Mar 11, 2025
Merged

check origin header#20
jraymakers merged 1 commit intomainfrom
jray/check-origin-header

Conversation

@jraymakers
Copy link
Copy Markdown
Collaborator

To prevent requests from browser pages on localhost but on a different port, check the "Origin" header (or "Referer", in the case of GET requests) instead of "Sec-Fetch-Site".

@jraymakers jraymakers requested a review from Y-- March 11, 2025 18:50
@jraymakers jraymakers merged commit 963e0e4 into main Mar 11, 2025
56 checks passed
@jraymakers jraymakers deleted the jray/check-origin-header branch March 11, 2025 19:41
Y-- added a commit that referenced this pull request Aug 15, 2025
* Terminate watcher if database changes

* Format

* Update watcher.cpp

* Revert "Format"

This reverts commit 72d82f4.
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.

1 participant