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 phishing detect script #7287

Merged
merged 1 commit into from
Oct 18, 2019
Merged

Conversation

whymarrh
Copy link
Contributor

@whymarrh whymarrh commented Oct 17, 2019

Fixes #7100

This PR fixes the "continuing at your own risk" link on the phishing page, which has been broken since v7.0.1 where we introduced 12e055a via #6966.

The result of getEnvironmentType (the value of windowType) used in the phishing detect script changed in the above commit and resulted in a connection to the incorrect context.

@whymarrh whymarrh requested a review from Gudahtt October 17, 2019 22:20
@whymarrh whymarrh force-pushed the fix-phishing-detect branch from 33c4a6c to 69a9576 Compare October 17, 2019 22:31
Gudahtt
Gudahtt previously approved these changes Oct 17, 2019
Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

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

Ahh, makes sense. Good catch!

@Gudahtt
Copy link
Member

Gudahtt commented Oct 17, 2019

It would be nice to add a test for this though eh.

@whymarrh
Copy link
Contributor Author

@Gudahtt test added, good catch!

Gudahtt
Gudahtt previously approved these changes Oct 18, 2019
@whymarrh whymarrh merged commit 06536b1 into MetaMask:develop Oct 18, 2019
@whymarrh whymarrh deleted the fix-phishing-detect branch October 18, 2019 16:05
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.

Link "continuing at your own risk" not working
2 participants