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: actually block silent refreshing from other origins #1447

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

davidmccoy-8451
Copy link

@davidmccoy-8451 davidmccoy-8451 commented Oct 25, 2024

Fixes #1354

  • Maintains existing checkOrigin config for backwards compatibility; does not change functionality, only clarifies in doc comment that it only logs an error
  • Adds new blockOtherOrigins config which prevents silent refreshing when the origin is different

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.

Silent refresh event listener does not check messages for origin
1 participant