Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use files instead of
data:
resources to avoid breaking CSP (see #6927)
Description ----------- <del>Because Swiper uses `src: url('data:application/font-woff…')` in their style sheet.</del> I have repackaged Swiper in contao-components/swiper@a9f07d8. Commits ------- 1199663 Add the missing `csp_source()` in the swiper.html.twig template daccd64 Add the missing `csp_none()` as well c3fc558 Add `csp_none()` to the style sheet component 88a0395 Revert the changes to the style sheet component 2767e40 Replace the preview toolbar data:image with an icon 4027a1a Use asset() to add the icon
- Loading branch information
Showing
4 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters