﻿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
19670	CachedFilesMixin Doesn't Limit Substitutions to Extension Matches	Matthew Tretter	Claude Paroz <claude@…>	"The format of the `patterns` attribute seems to imply that substitutions will only be performed in files with the corresponding extension. However, if a file matches *any* of the filename patterns, then *all* of the listed substitutions will be performed. For example:


{{{
    patterns = (
        (""*.css"", (
            r""""""(url\(['""]{0,1}\s*(.*?)[""']{0,1}\))"""""",
            r""""""(@import\s*[""']\s*(.*?)[""'])"""""",
        )),
        (""*.js"", (
            r""whatever"",
        ),
    )
}}}

Not only will `url_converter()` be called for any occurrences of the word ""whatever"" in JavaScript files, but also for any occurrences of `url('something')` and `@import('something')` (in JavaScript files)."	Bug	closed	contrib.staticfiles	1.4	Normal	fixed			Ready for checkin	1	0	0	0	0	0
