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

XSS.EscapeOutput sniff: Fix issue #933 - namespace separators. #1097

Merged
merged 1 commit into from
Aug 8, 2017

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Aug 7, 2017

This simple change means that namespace separators will be be ignored completely by the check for output escaping which fixes the immediate issue.

For a more thorough fix, the logic of the function would need to be refactored to take namespaced functions into account as well, but that's for another day.

Fixes #933

This simple change means that namespace separators will be be ignored completely by the check for output escaping which fixes the immediate issue.

For a more thorough fix, the logic of the function would need to be refactored to take namespaced functions into account as well, but that's for another day.
@jrfnl jrfnl added this to the 0.14.0 milestone Aug 7, 2017
@jrfnl jrfnl requested a review from GaryJones August 7, 2017 15:30
@GaryJones
Copy link
Member

Works perfectly for my case :-)

@GaryJones GaryJones merged commit 6d98f36 into develop Aug 8, 2017
@GaryJones GaryJones deleted the feature/issue-933-namespaced-functions branch August 8, 2017 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

\ before global namespace functions causes an escaping function error.
2 participants