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 #583 by tweaking incomplete tag regex #586

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

Crozzers
Copy link
Contributor

This PR closes #583 by tweaking the incomplete tags regex. It now accounts for the token not having a trailing space.

That issue highlighted some larger issues that this PR doesn't address, such as some assumptions made in the HTML span hasher. That will have to be looked into separately but this PR should patch the highlighted case

Should now account for end of snippet not having a space
@nicholasserra
Copy link
Collaborator

Thank you!

@nicholasserra nicholasserra merged commit 768c820 into trentm:master Jul 5, 2024
15 checks passed
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.

Another safe mode XSS
2 participants