#34283: Missing parameter escaping in admin filters.js
-------------------------------+--------------------------------------
Reporter: ef-end-y | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 4.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by ef-end-y):
* cc: ef-end-y (added)
* has_patch: 0 => 1
Comment:
Patch:
{{{
14c14
< const detailElement = document.querySelector(`[data-filter-
title='${key}']`);
---
> const detailElement = document.querySelector(`[data-filter-
title='${CSS.escape(key)}']`);
30a31
>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34283#comment:1>
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/01070185da6eb391-15571323-d2e5-4074-8c84-866cf87f2809-000000%40eu-central-1.amazonses.com.