Closed
Bug 1328449
Opened 9 years ago
Closed 8 years ago
Drop alternate bleach settings
Categories
(developer.mozilla.org :: Security, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jwhitlock, Unassigned)
References
Details
(Keywords: in-triage, Whiteboard: [specification][type:change])
What feature should be changed? Please provide the URL of the feature if possible.
==================================================================================
Users can request an alternate allowed list of HTML features (attributes, styles, tags) by adding a ?bleach_new query parameter and requesting a refresh of the page. This may have been used when added by PR 837, but is not currently used by MDN staff or core contributors.
https://github.com/mozilla/kuma/pull/837
What problems would this solve?
===============================
The content sanitation code is more complicated than it needs to be, and implies that the content sanitation is controlled by a database parameter rather than source code.
Who would use this?
===================
Readers of the kuma code
What would users see?
=====================
No change for MDN users. Kuma contributors would see simpler code.
What would users do? What would happen as a result?
===================================================
Kuma contributors would not have incorrect assumptions when reading the content sanitization code, or have to follow discussions from 2013 to determine if code paths are used.
Is there anything else we should know?
======================================
This code was added as part of bug 834297. Bug 834296 proposed a waffle flag instead of the query string parameter, but this appears to not have been implemented.
| Reporter | ||
Comment 2•8 years ago
|
||
This was fixed in https://github.com/mozilla/kuma/pull/4218, May 2017
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•