Skip to content

Conversation

@max-baz
Copy link
Member

@max-baz max-baz commented Apr 14, 2019

form.action returns both attribute on a <form> tag, but when it's not present, it returns an element (!) with name="action" inside that form. This causes #62 (comment)

By using getAttribute we can safely read the form attribute value, which returns either a string or null.

@max-baz max-baz merged commit 5a03634 into browserpass:master Apr 14, 2019
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.

2 participants