﻿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
35055	`collectstatic` tries to parse commented out lines in CSS files.	Denis Pechenev	nobody	"Recently jQuery developers released the new version of `jquery-ui` ( https://blog.jqueryui.com/2022/07/jquery-ui-1-13-2-released/ ). This version contains a commented out line in `jqery-ui.min.css`. The comment line contains the following `url(%22images%2Fui-icons_555555_256x240.png%22)`.

When running `collectstatic` command Django tries to parse the whole file with regular expression and finds strings like `url(%22images%2Fui-icons_555555_256x240.png%22)` as a valid urls to files. So it builds the url path like the following `css/vendor/""images/ui-icons_555555_256x240.png""` and tries to open a file with such URL. Because of extra quotes in the path it throws an exception that the file doesn't exist.

"	Bug	closed	contrib.staticfiles	4.2	Normal	duplicate	collectstatic, ManifestStaticFilesStorage		Unreviewed	0	0	0	0	0	0
