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

Bleach Add-on Summary of all HTML #22994

Merged
merged 10 commits into from
Jan 28, 2025

Conversation

chrstinalin
Copy link
Contributor

@chrstinalin chrstinalin commented Jan 15, 2025

Relates to mozilla/addons#15254

Description

Changes NoURLsTranslation to now escape all HTML, on top of stripping any links. Existing HTML is not escaped.

Testing

Updating an add-on's summary with HTML will escape the HTML.

Checklist

  • Add #ISSUENUM at the top of your PR to an existing open issue in the mozilla/addons repository.
  • Successfully verified the change locally.
  • The change is covered by automated tests, or otherwise indicated why doing so is unnecessary/impossible.
  • Add or update relevant docs reflecting the changes made.

@chrstinalin chrstinalin marked this pull request as draft January 15, 2025 12:51
@chrstinalin chrstinalin marked this pull request as ready for review January 27, 2025 21:06
@chrstinalin chrstinalin requested a review from diox January 27, 2025 21:21
src/olympia/bandwagon/models.py Outdated Show resolved Hide resolved
src/olympia/translations/models.py Outdated Show resolved Hide resolved
@chrstinalin chrstinalin merged commit 0197c75 into mozilla:master Jan 28, 2025
49 checks passed
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.

2 participants