Closed
Bug 1170214
Opened 11 years ago
Closed 9 years ago
Limit notes to HTML subset
Categories
(developer.mozilla.org Graveyard :: BrowserCompat, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jwhitlock, Unassigned)
References
Details
(Whiteboard: [bc:infra][bc:milestone=motorbike])
What problem would this feature solve?
======================================
The API supports HTML fragments as notes, feature names, and other localizable components. This presents multiple risks, which could be mitigated by an explicit whitelist of allowed HTML.
Who has this problem?
=====================
Core contributors to MDN
How do you know that the users identified above have this problem?
==================================================================
Identified by David Walsh during implementation of MDN compatibility table displays
How are the users identified above solving this problem now?
============================================================
API contributors are limited to trusted MDN staff, and contribution is challenging.
Do you have any suggestions for solving the problem? Please explain in detail.
==============================================================================
The HTML allowed could be limited to a small list of tags:
<p>, <pre>, <code>, <br>, <a>
The attributes allowed could be limited per tag: no attributes for most, "href" for <a> tags.
It is unclear if text should be restricted, other than being valid UTF-8 text, possibly percent-encoded.
Is there anything else we should know?
======================================
| Reporter | ||
Comment 1•11 years ago
|
||
Any advice for the limited HTML set allowed in notes etc.? I already left <code> off the list.
Blocks: 996570
Flags: needinfo?(dwalsh)
Comment 2•11 years ago
|
||
I haven't seen anything immediately that looks like a problem.
Flags: needinfo?(dwalsh)
Updated•10 years ago
|
Component: General → BrowserCompat
Updated•10 years ago
|
Severity: enhancement → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: in-triage
Summary: [Compat Data] Limit notes to HTML subset → Limit notes to HTML subset
Whiteboard: [specification][type:feature] → [bc:infra]
| Reporter | ||
Updated•10 years ago
|
Mentor: jwhitlock
Whiteboard: [bc:infra] → [bc:infra][bc:milestone=motorbike]
| Reporter | ||
Updated•9 years ago
|
Mentor: jwhitlock
| Reporter | ||
Comment 3•9 years ago
|
||
The BrowserCompat project is canceled. See https://github.com/mdn/browsercompat for current effort. Bulk status change includes the random word TEMPOTHRONE.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•