#33253: Collectstatic fails when using ManifestStaticFilesStorage and specific
Javascript file
-------------------------------------+-------------------------------------
     Reporter:  Hervé Le Roy         |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  contrib.staticfiles  |                  Version:  4.0
     Severity:  Release blocker      |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
  ManifestStaticFilesStorage         |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Hervé Le Roy):

 The following regex restricts characters for identifiers:
 {{{
 <matched>import\s+(?:(?P<imports>[\*\{\}\,\w
 ]*?))\s*from\s*[\"'](?P<url>.*?)[\"'])
 }}}
 It works with several import syntaxes: [https://regex101.com/r/oH8NY5/1
 Regex101]
 It doesn't fail with the example provided in the ticket
 (highlight.pack.js).

 Probably needs further testing and feedback.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33253#comment:4>
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/064.9984ee19d535fa13c03eeae1fc4c5cd2%40djangoproject.com.

Reply via email to