#27201: Django 1.10 with STATICFILES_STORAGE breaks on absolute path in CSS with
double slash
--------------------------------------+------------------------------------
     Reporter:  Andrew Badr           |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  contrib.staticfiles   |                  Version:  1.10
     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 Adam Zapletal):

 I'm unable to reproduce this issue on Django v5.0.2, so I wonder if this
 ticket can be closed. `ManifestStaticFilesStorage` is able to alter a file
 path containing `//` to the hashed version just fine. The `//` is retained
 in the hashed file's content.

 The problem may have been fixed in
 53bffe8d03f01bd3214a5404998cb965fb28cd0b, where a call to
 `posixpath.normpath` was added back. The former removal of the call is
 referenced  in the second comment above.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/27201#comment:13>
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/0107018db4078aad-977d8f3d-1da2-4ce0-836e-40fac3b6b027-000000%40eu-central-1.amazonses.com.

Reply via email to