Skip to content

Conversation

@max-baz
Copy link
Member

@max-baz max-baz commented Feb 2, 2020

An alternative to #192

Fixes #191

Copy link
Collaborator

@erayd erayd left a comment

Choose a reason for hiding this comment

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

Looks good. We may need a validity check to prevent invalid.invalid from displaying in the anti-phishing filter; normally on an about: page we want to see the entire store.

@max-baz
Copy link
Member Author

max-baz commented Jun 2, 2020

@erayd I'll try to resolve conflicts later today, let's finalize this pr and release a new version, with updated deps and these Firefox fixes?

@erayd
Copy link
Collaborator

erayd commented Jun 2, 2020

Sounds good :-).

@max-baz
Copy link
Member Author

max-baz commented Jun 2, 2020

Looks good. We may need a validity check to prevent invalid.invalid from displaying in the anti-phishing filter; normally on an about: page we want to see the entire store.

Just checked, Chrome parses URLs like chrome://extensions successfully, and Firefox parses URLs like about:addons successfully as well, neither produce invalid.invalid (what will produce invalid.invalid is for example parsing chrome://extension in Firefox).

In other words, when things are normal, users should never see invalid.invalid, even on internal browser pages. Should we just leave this as it is for now? I'm not sure anyway what's the best way of handling invalid urls at the moment, e.g. when a fill request was issued...

@max-baz max-baz force-pushed the fix-firefox-newtab branch from 174f438 to fa686b3 Compare June 2, 2020 19:23
Copy link
Collaborator

@erayd erayd left a comment

Choose a reason for hiding this comment

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

I'm happy with this, but if invalid.invalid ever actually shows up in a real-world scenario, then I think we will need to fix it. It's a bit of a rough edge to expose to users. However, if they never see it, then I don't think we need to worry about it.

@max-baz max-baz merged commit 96eab70 into master Jun 27, 2020
@max-baz max-baz deleted the fix-firefox-newtab branch June 28, 2020 12:26
fkneist pushed a commit to fkneist/browserpass-extension that referenced this pull request Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Regression: error on New Tab in Firefox

3 participants