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

Sanitize Fix #208

Merged
merged 4 commits into from
May 28, 2021
Merged

Sanitize Fix #208

merged 4 commits into from
May 28, 2021

Conversation

dshanske
Copy link
Member

This fixes the issue identified in #206 by escaping the HTML, but then using htmlspecialchars to restore it for display purposes.

It also bumps the version so this can be released.

@dshanske dshanske requested a review from pfefferle May 25, 2021 03:28
@dshanske
Copy link
Member Author

It also changes the test token to a token the length of a standard token, generated using the same code, so if any mod_security might be tripped, this can be tested.

Copy link
Member

@pfefferle pfefferle left a comment

Choose a reason for hiding this comment

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

LGTM

@dshanske dshanske merged commit f905154 into indieweb:trunk May 28, 2021
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.

2 participants