Skip to content

Fix erreur directive Content Security Policy fonts.googleapis.com#3180

Open
3r1cKBS wants to merge 1 commit intojeedom:masterfrom
3r1cKBS:Jeedoom-fix-Erreur_directive_Content_Security_Policy_fonts.googleapis.com
Open

Fix erreur directive Content Security Policy fonts.googleapis.com#3180
3r1cKBS wants to merge 1 commit intojeedom:masterfrom
3r1cKBS:Jeedoom-fix-Erreur_directive_Content_Security_Policy_fonts.googleapis.com

Conversation

@3r1cKBS
Copy link

@3r1cKBS 3r1cKBS commented Jan 3, 2026

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)

…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 zoic21 changed the base branch from master to 4.5.3 January 30, 2026 08:35
@Salvialf Salvialf changed the base branch from 4.5.3 to master January 30, 2026 09:53
<Directory /var/www/html>
Options -Indexes -ExecCGI -FollowSymLinks
AllowOverride All
</Directory>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je pense que la suppression de cette ligne va tout casser

AllowOverride All
</Directory>

:q:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idem ca je suis pas sur

Copy link
Contributor

@zoic21 zoic21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sur l'idée pourquoi pas mais la en l'état ca marchera pas

@zoic21 zoic21 added the Invalid label Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants