#34496: ManifestStaticFilesStorage.patterns for sourceMappingURL does not
retrieve
matched line to return for for example data URI
-------------------------------------+-------------------------------------
Reporter: Hielke Walinga | Owner: nobody
Type: Bug | Status: closed
Component: contrib.staticfiles | Version: 4.2
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage:
ManifestStaticFilesStorage | Unreviewed
sourceMappingURL regex |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Hielke Walinga):
I created a test case for the Django test suite with an example. I also
provided a fix that I assured fixed that.
https://github.com/django/django/compare/main...hwalinga:django:fix-set-
matched-regex-group-correctly
The example sourceMappingURL line is "//#
sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIl9zcmMv",
which is currently removed, but should be untouched.
--
Ticket URL: <https://code.djangoproject.com/ticket/34496#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/010701878f3a1083-b7bd0197-82c3-476c-b4cc-68824e2967d4-000000%40eu-central-1.amazonses.com.