Closed
Bug 649109
Opened 13 years ago
Closed 13 years ago
User formatting (line breaks) not retained for Why/who sections of blocklist detail
Categories
(addons.mozilla.org Graveyard :: Admin/Editor Tools, defect)
addons.mozilla.org Graveyard
Admin/Editor Tools
Tracking
(Not tracked)
VERIFIED
FIXED
6.0.5
People
(Reporter: krupa.mozbugs, Assigned: jbalogh)
References
()
Details
steps to reproduce: 1. Add 3 paragraphs (with line breaks) to Why and who sections of the blocklist detail page @ https://addons.allizom.org/z/en-US/admin/models/blocklist/blocklistdetail/add/ 2. Check the blocked detail page @ https://addons.allizom.org/z/en-US/firefox/blocked/i40 observed behavior: User formatting (line breaks) not retained for Why/ who sections of blocklist detail
Assignee | ||
Comment 1•13 years ago
|
||
The field takes html.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Comment 2•13 years ago
|
||
Was there a special request for HTML here? The normal purification+nl2br would work just as well and be consistent with the rest of the site and it would let us get rid of the "|safe" stuff which we've been on the warpath about. Even if the input is supposed to be safe here, less false positives would be good, right?
Assignee | ||
Comment 3•13 years ago
|
||
(In reply to comment #2) > Was there a special request for HTML here? Yes (bug 629818 comment 2). I do like fewer false positives, though.
Comment 4•13 years ago
|
||
(In reply to comment #3) > (In reply to comment #2) > > Was there a special request for HTML here? > > Yes (bug 629818 comment 2). I do like fewer false positives, though. Ah, I'm willing to say "HTML" in that context is our normal purified HTML which is pretty extensive. I'm going to reopen this to convert to purification+nl2br. Sorry to keep dropping .5 bugs on you, but I've seen the .6 schedule and you'll be fine. Thanks.
Assignee: nobody → jbalogh
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Whiteboard: [post-freeze+]
Assignee | ||
Comment 5•13 years ago
|
||
https://github.com/jbalogh/zamboni/commit/1fbb832 fligtar: you're limited to whatever HTML we allow elsewhere but links will not get outgoing'd.
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•13 years ago
|
Whiteboard: [post-freeze+]
Reporter | ||
Comment 6•13 years ago
|
||
Filed bug 649923. Verified at https://addons-next.allizom.org/en-US/firefox/blocked/i40
Status: RESOLVED → VERIFIED
Updated•8 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
•