#17664: {% if %} template tag silences exceptions inconsistently
-------------------------------------+-------------------------------------
Reporter: Tai Lee | Owner: Robert
| Roskam
Type: Bug | Status: assigned
Component: Template system | Version: master
Severity: Normal | Resolution:
Keywords: smart if tag | Triage Stage: Accepted
queryset exception silenced |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jon Dufresne):
* needs_better_patch: 1 => 0
Comment:
Added details in the PR that explains why the exceptions must be raised to
avoid typos or other programming mistakes from inadvertently exposing
private or sensitive data. As `{% if %}` template tags are used to guard
private details, ignoring undefined variables (possibly) due to a typo,
can result in easily -- though mistakenly -- exposing this sensitive data.
--
Ticket URL: <https://code.djangoproject.com/ticket/17664#comment:28>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.618163f9c208c596684714db093f588e%40djangoproject.com.