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

revert: remove static html support #33

Merged
merged 5 commits into from
Dec 4, 2024

Conversation

sparten11740
Copy link

This reverts the changes removing support for loading static html in the webview.

Prerequisite for https://github.com/ExodusMovement/exodus-mobile/pull/23174

@andrewtoth
Copy link

From the thread here, it seems enabling static html support is only safe if we whitelist the origins. So, we should add a check that whitelist is set (and not just wildcard) and fail otherwise.

@sparten11740
Copy link
Author

So, we should add a check that whitelist is set (and not just wildcard) and fail otherwise.

something like 99e9c82?

src/validation.ts Outdated Show resolved Hide resolved
@andrewtoth
Copy link

something like 99e9c82?

Nice!

Co-authored-by: Andrew Toth <[email protected]>
Copy link

@andrewtoth andrewtoth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@mvayngrib mvayngrib requested a review from ChALkeR December 2, 2024 14:32
@sparten11740 sparten11740 merged commit 5950551 into master Dec 4, 2024
6 checks passed
@sparten11740 sparten11740 deleted the sparten11740/revert/remove-static-html-support branch December 4, 2024 07:55
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.

2 participants