-
Notifications
You must be signed in to change notification settings - Fork 174
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
[Instruments] Bugfix multi-escaped special characters #6223
[Instruments] Bugfix multi-escaped special characters #6223
Conversation
related to #6158 |
@ridz1208 I'm not a security wizard but I think everywhere that _getFilteredValue used & returning some data. It would have to be verified that removing the sanitization doesn't void potential security. @johnsaigle mentioned this as well. So far I see maybe that was already done in last issue? |
Copying what I wrote in #6158 for clarity and easier reference:
|
Removed duplicate call to HTMLSpecialChars() causing double escaping on any instrument field with one of the following characters & < > " The removal is justified since these fields are being escaped directly in the database class https://github.com/aces/Loris/blob/master/php/libraries/Database.class.inc#L538
Removed duplicate call to HTMLSpecialChars() causing double escaping on any instrument field with one of the following characters & < > " The removal is justified since these fields are being escaped directly in the database class https://github.com/aces/Loris/blob/master/php/libraries/Database.class.inc#L538
Brief summary of changes
Removed duplicate call to
HTMLSpecialChars()
causing double escaping on any instrument field with one of the following characters& < > "
The removal is justified since these fields are being escaped directly in the database class
https://github.com/aces/Loris/blob/master/php/libraries/Database.class.inc#L538