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 navigation when the page contains an iframe with an empty name #767

Closed

Conversation

lserman
Copy link

@lserman lserman commented Oct 17, 2022

Links/forms are currently being disabled if any iframe exists on the page with an empty name. This is unfortunately more common than you'd think due to browser extensions commonly injecting iframes carelessly into the page body.

The target attribute for both form and link elements returns a blank string when they are not set, so the existing checks since 7.2 were improperly catching any <iframe name> elements and disabling the submissions/navigations.

@seanpdoyle
Copy link
Contributor

Thank you for opening this pull request!

It seems to overlap with #755. Are you able to reproduce your issues with the changes made by #755?

@lserman
Copy link
Author

lserman commented Oct 18, 2022

#755 will fix it as well, yes. 🎉

@lserman lserman closed this Oct 18, 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