Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#26206 closed Bug (fixed)

Small in-text example is lost on "Security in Django"

Reported by: frostbtn Owned by: Tim Graham
Component: Documentation Version: 1.9
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

After v 1.8 a tiny example has disappeared from Security in Django -> Cross site scripting (XSS) protection section:

<style class={{ var }}>...</style>

It is present on v 1.8 and before it:
https://docs.djangoproject.com/en/1.8/topics/security/#cross-site-scripting-xss-protection

And missing from v 1.9 and current vNext
https://docs.djangoproject.com/en/1.9/topics/security/#cross-site-scripting-xss-protection
https://docs.djangoproject.com/en/dev/topics/security/#cross-site-scripting-xss-protection

(I came across it from somewhat misleading conversation on bleach sanitizer: https://github.com/mozilla/bleach/issues/133)

Change History (3)

comment:1 by Tim Graham, 8 years ago

Owner: changed from nobody to Tim Graham
Status: newassigned
Triage Stage: UnreviewedAccepted

comment:2 by Tim Graham <timograham@…>, 8 years ago

Resolution: fixed
Status: assignedclosed

In f2b45dd:

Fixed #26206 -- Fixed docs comments causing empty code blocks.

comment:3 by Tim Graham <timograham@…>, 8 years ago

In 9f743e2:

[1.9.x] Fixed #26206 -- Fixed docs comments causing empty code blocks.

Backport of f2b45ddd99ff23c0bd103f1dda1e1cb0c8dc6d84 from master

Note: See TracTickets for help on using tickets.
Back to Top