-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
fix(core): Do not use v-html
for translation output
#49346
Conversation
/backport to stable30 |
/backport to stable29 |
/backport to stable28 |
/compile rebase |
The content that can be renderered does *not* include HTML (see `recommended` object). But `v-html` was used, this is potentially dangerous, even though we sanitize the translation values, so no urgent harm but better safe than sorry. Signed-off-by: Ferdinand Thiessen <[email protected]>
Signed-off-by: nextcloud-command <[email protected]>
302bc11
to
2887c16
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
/backport 52769a4 to stable29 |
/backport 52769a4 to stable28 |
The backport to # Switch to the target branch and update it
git checkout stable29
git pull origin stable29
# Create the new backport branch
git checkout -b backport/49346/stable29
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 52769a4
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/49346/stable29 Error: No changes found in backport branch Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. |
The backport to # Switch to the target branch and update it
git checkout stable28
git pull origin stable28
# Create the new backport branch
git checkout -b backport/49346/stable28
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 52769a4
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/49346/stable28 Error: No changes found in backport branch Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. |
Summary
The content that can be rendered does not include HTML (see
recommended
object).But
v-html
was used, this is potentially dangerous, even though we sanitize the translation values, so no urgent harm but better safe than sorry.Checklist