﻿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
17806	CachedFilesMixin url_converter doesn't handle absolute paths correctly	lpetre	nobody	"This code works fine for an absolute url that is within one folder of static, ie: url(/static/foo/bar.png)

The bug I'm seeing happens with absolute paths and multiple subfolders: url(/static/foo/bar/yak.png)

All of the logic is within CachedFilesMixin -> url_converter -> converter

The result of the bug is:  When you're using any staticfile storage that includes CachedFilesMixin, collecstatic fails (throws an exception) when it tries to update a css file that has an absolute reference to another asset that is in a subfolder.

I've created a small test application here:
https://github.com/lpetre/django-cachedstorage-bug

I've also added regressiontests and a potential fix to a fork of the django project on github. I'll update this ticket shortly with that url."	Bug	closed	contrib.staticfiles	dev	Normal	fixed			Unreviewed	1	0	0	1	0	0
