Closed
Bug 623076
Opened 15 years ago
Closed 15 years ago
Pretty-print (strip out HTML/markup) from summary/description until the user clicks Edit
Categories
(addons.mozilla.org Graveyard :: Developer Pages, defect)
addons.mozilla.org Graveyard
Developer Pages
Tracking
(Not tracked)
VERIFIED
FIXED
5.12.6
People
(Reporter: stephend, Assigned: davedash)
References
()
Details
Attachments
(1 file)
|
546.80 KB,
image/png
|
Details |
We should pretty-print (i.e. strip-out the HTML tags/markup) on https://addons.allizom.org/z/en-US/developers/addon/a9-9331/edit
Right now, it looks like:
oh hai, here is some HTML: <a href="http://www.akamai.com">Akamai</a> <img src="http://www.lexus.com/lexus-share/images/gallery/models/IS/photos/exterior/g_ext1.jpg"> <b>Bold</b>
It should appear formatted and without tags, just as it would appear on the site, until the user clicks on Edit, in which case, all tags should be exposed.
Updated•15 years ago
|
Assignee: nobody → amckay
Comment 1•15 years ago
|
||
Beware the xss.
| Assignee | ||
Updated•15 years ago
|
Assignee: amckay → dd
| Assignee | ||
Comment 2•15 years ago
|
||
http://github.com/jbalogh/zamboni/commit/271ec83
Not pleased with the __class__ bit, hoping we can change that later to something more sensible.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 3•15 years ago
|
||
Verified FIXED; the pretty-print is now:
hi, here is some HTML:<img src=";<script>alert('hi');</script>
(Which is fine since there was an XSS attempt, which is now escaped.)
Status: RESOLVED → VERIFIED
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•