#21080: collectstatic post-processing fails for references inside comments -------------------------------------+------------------------------------ Reporter: shreyas@… | Owner: nobody Type: Bug | Status: new Component: contrib.staticfiles | Version: 1.5 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 -------------------------------------+------------------------------------
Comment (by benspaulding): Just as an additional datapoint and another thing to consider if it comes to parsing the CSS, I recently started working on a project where the designers used some CSS expressions for an IE-specific stylesheet. The JScript used in one expression puts a particularly crazy bit like {{{.replace('url("','').replace('")','')}}}. As marfire said, that {{{url}}} bit in a string raises an exception. Fortunately I can overcome this for my project with a simple sublcass to make a very small change to the regular expression used. But that is one other thing to consider if it is decided that the {{{CachedStaticFilesStorage}}} needs to be more robust. -- Ticket URL: <https://code.djangoproject.com/ticket/21080#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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/075.0843896a04a783c3092094c87c405a0c%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.