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

QA: improve output escaping [2] #151

Merged
merged 1 commit into from
Mar 23, 2021
Merged

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Mar 23, 2021

Context

  • Security hardening

Summary

This PR can be summarized in the following changelog entry:

  • Security hardening

Relevant technical choices:

As things were, if $link was passed in as a parameter, it would not be escaped for output. Output escaping was only applied to the default anchor text string.

Fixed now.

Test instructions

This PR can be tested by following these steps:

  • N/A This should have no effect on functionality (other than when translators would have added HTML to the translated texts, which would now be correctly escaped).

As things were, if `$link` was passed in as a parameter, it would not be escaped for output. Output escaping was only applied to the default anchor text string.

Fixed now.
@jrfnl jrfnl added this to the 4.2 milestone Mar 23, 2021
@jrfnl jrfnl merged commit 09407bb into develop Mar 23, 2021
@jrfnl jrfnl deleted the JRF/QA/improve-output-escaping-2 branch March 23, 2021 11:50
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.

1 participant