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: add cross-origin check #200

Merged
merged 4 commits into from
Nov 26, 2024
Merged

fix: add cross-origin check #200

merged 4 commits into from
Nov 26, 2024

Conversation

cpb8010
Copy link
Contributor

@cpb8010 cpb8010 commented Nov 26, 2024

Description

We don't want to allow cross-origin requests, as right now we only expect requests from one domain. This field is optional so we just validate if it's the wrong value.

Additional context

Cleaning up todos as part of audit

We don't want to allow cross-origin requests
@cpb8010 cpb8010 self-assigned this Nov 26, 2024
@cpb8010 cpb8010 added the enhancement New feature or request label Nov 26, 2024
@cpb8010 cpb8010 requested a review from ly0va November 26, 2024 06:58
vladbochok and others added 2 commits November 26, 2024 23:25
* fix: small changes

* fix: restore tests and fix crossOrigin bug

* fix: typechain

---------

Co-authored-by: Lyova Potyomkin <[email protected]>
@ly0va ly0va merged commit bfdc6fb into main Nov 26, 2024
3 checks passed
@ly0va ly0va deleted the cross-origin-check branch November 26, 2024 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants