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

Rollbar JavaScript: Make <head> lookup stricter to avoid matching <header> #394

Merged
merged 1 commit into from
Mar 4, 2016

Conversation

jeremiemv
Copy link
Contributor

When loading an HTML partial including a

tag via AJAX, the Rollbar JS is inserted inside that said tag, the lookup for the tag being too permissive.

screen shot 2016-03-04 at 11 18 00 am

@jeremiemv jeremiemv changed the title Make <head> lookup stricter to avoid matching <header> Rollbar JavasScript: Make <head> lookup stricter to avoid matching <header> Mar 4, 2016
@jeremiemv jeremiemv changed the title Rollbar JavasScript: Make <head> lookup stricter to avoid matching <header> Rollbar JavaScript: Make <head> lookup stricter to avoid matching <header> Mar 4, 2016
@brianr
Copy link
Member

brianr commented Mar 4, 2016

Thanks @jeremiemv ! This looks good to me. @jondeandres can you take a look?

jondeandres added a commit that referenced this pull request Mar 4, 2016
Rollbar JavaScript: Make <head> lookup stricter to avoid matching <header>
@jondeandres jondeandres merged commit d429bf0 into rollbar:master Mar 4, 2016
@jondeandres
Copy link
Contributor

Hey @jeremiemv, thanks for the PR!

@jeremiemv
Copy link
Contributor Author

👍

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.

3 participants