#34813: Docs miss note about invalid integrity with ManifestStaticFilesStorage
------------------------------------------------+------------------------
               Reporter:  prauscher             |          Owner:  nobody
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  Documentation         |        Version:  4.2
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 When using ManifestStaticFilesStorage, it will modify your static contents
 e.g. to make source maps work etc. This is obviously a good thing, but
 makes the integrity-attribute of <link> or <script> tags useless.
 Especially if you are in the process of insourcing external resources,
 this should be documented, e.g. with a note in the
 ManifestStaticFilesStorage, possibly noting the error message to be
 expected ("Failed to find a valid digest in the integrity attribute", at
 least with Chrome).

 I'd be happy to help with a PR, just note that I'm new to contributing to
 django, so I might need some help in this process.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34813>
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/0107018a5f42570f-c06e51eb-4cc7-41c5-9fff-210873046b8a-000000%40eu-central-1.amazonses.com.

Reply via email to