Fix erreur directive Content Security Policy fonts.googleapis.com#3180
Open
3r1cKBS wants to merge 1 commit intojeedom:masterfrom
Open
Conversation
…ssource "https://fonts.googleapis.com/css?family=Google+Sans" la config d'origine qui date un peu ne contenait pas fonts.gstatic.com qui est utilisée entre autre dans plugins/zwavejs/resources/zwave-js-ui/node_modules/workbox-recipes/build/workbox-recipes.dev.js ou plugins/zwavejs/resources/zwave-js-ui/node_modules/workbox-recipes/googleFontsCache.js
zoic21
reviewed
Jan 30, 2026
| <Directory /var/www/html> | ||
| Options -Indexes -ExecCGI -FollowSymLinks | ||
| AllowOverride All | ||
| </Directory> |
Contributor
There was a problem hiding this comment.
Je pense que la suppression de cette ligne va tout casser
zoic21
reviewed
Jan 30, 2026
| AllowOverride All | ||
| </Directory> | ||
|
|
||
| :q: |
zoic21
requested changes
Jan 30, 2026
Contributor
zoic21
left a comment
There was a problem hiding this comment.
Sur l'idée pourquoi pas mais la en l'état ca marchera pas
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
La configuration d’origine (ancienne) ne contenait pas fonts.gstatic.com, alors que ce domaine est utilisé par certains plugins, par exemple zwavejs via
plugins/zwavejs/resources/zwave-js-ui/node_modules/workbox-recipes/build/workbox-recipes.dev.js
et
plugins/zwavejs/resources/zwave-js-ui/node_modules/workbox-recipes/googleFontsCache.js.
ce qui produisait l'erreur suivante dans le centre de messages:<<Erreur de directive Content Security Policy sur la ressource "https://fonts.googleapis.com/css?...">>
Description
Suggested changelog entry
Related issues/external references
Fixes #
Types of changes
[X] Bug fix (non-breaking change which fixes)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] This change is only breaking for integrators, not for external standards or end-users.
[ ] Documentation improvement
PR checklist
[ ] I have checked there is no other PR open for the same change.
[ ] I have read the [La ligne directrice pour contribuer à ce projet / Contribution guidelines for this project
).
[X] I grant the project the right to include and distribute the code under the GNU.
[ ] I have added tests to cover my changes. (not applicable: Apache CSP template change)
[ ] I have verified that the code complies with the projects coding standards.
[ ] [Required for new sniffs] I have added MD documentation for the sniff. (not applicable)