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

Added escaping of error messages in the 'messages' attribute #5

Merged
merged 1 commit into from
Oct 2, 2019

Conversation

foscomputerservices
Copy link
Contributor

Without escaping of the error message, invalid XML can be generated that will fail to parse. An example would be a quote character (") was included in the error message.

NOTE: I added a dependency to the HTMLString library to provide functionality for the escaping, as it's non-trivial. If this is undesired, I can manually add a local function for some of the standard possibilities, but of course, it won't be as complete.

…failure' and 'error' tags

Without escaping of the error message, invalid XML can be generated that will fail to parse. An example would be a quote character (") was included in the error message.
@vi4m vi4m self-assigned this Jul 24, 2019
@vi4m vi4m self-requested a review July 24, 2019 14:31
@ar4s ar4s merged commit 5884684 into allegro:master Oct 2, 2019
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