#26329: StaticFilesStorage permits leading slash, CachedStaticFilesStorage
doesn't
-------------------------------------+------------------------------------
Reporter: Seán Hayes | Owner: (none)
Type: Bug | Status: new
Component: contrib.staticfiles | Version: 1.8
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+------------------------------------
Changes (by Adam Zapletal):
* cc: Adam Zapletal (added)
Comment:
I tested this in Django v5.0.2, and the error message now takes this form:
`ValueError: Missing staticfiles manifest entry for '/test.css'`.
The error message seems plenty clear to me, so I wonder if a change is
even needed here. Also, it makes sense to me that this only happens with
`ManifestStaticFilesStorage` since `StaticFilesStorage` doesn't have a
manifest. The inconsistency between the two storage classes is expected.
--
Ticket URL: <https://code.djangoproject.com/ticket/26329#comment:5>
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/0107018db4509eff-7028b1e9-b442-4fcb-b964-d99645168441-000000%40eu-central-1.amazonses.com.