﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
34283	Missing parameter escaping in admin filters.js	Stanislav	Stanislav	"I am using ukrainian language in django admin. This language has an apostrophe that users often write as '.

My code:

{{{
class HasMasterFilter(admin.SimpleListFilter):
    title = ""Пов'язаний?""
}}}


leads to error in /django/contrib/admin/static/admin/js/filters.js at the line:


{{{
const detailElement = document.querySelector(`[data-filter-title='${key}']`);
}}}


it's needed to escape the value in key"	Bug	closed	contrib.admin	4.2	Release blocker	fixed		Stanislav Marcelo Galigniana	Ready for checkin	1	0	0	0	0	0
