Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address Turbo-related CSP errors on first load #148

Merged
merged 2 commits into from
Feb 23, 2023
Merged

Conversation

florimondmanca
Copy link
Collaborator

@florimondmanca florimondmanca commented Feb 13, 2023

Suite à #141

Cette PR corrige une partie des erreurs CSP qui apparaissent quand on navigue dans DiaLog (Visible en prod ou en local), du genre :

Content Security Policy: Les paramètres de la page ont empêché le chargement d’une ressource à inline (« default-src »).

Elle supprime en effet les erreurs lors du chargement initial de la page.

Des erreurs apparaissent encore lors d'une navigation via Turbo Drive. J'ai essayé hotwired/turbo#294 (comment) mais ça n'a rien donné. J'ai ouvert un ticket sur NelmioSecurityBundle à ce sujet : nelmio/NelmioSecurityBundle#321

@codecov
Copy link

codecov bot commented Feb 13, 2023

Codecov Report

Merging #148 (f5c654a) into main (cd29274) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##                main      #148   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity       318       318           
===========================================
  Files             82        82           
  Lines           1320      1320           
===========================================
  Hits            1320      1320           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@florimondmanca florimondmanca changed the title Partially address Turbo-related CSP errors Address Turbo-related CSP errors on first load Feb 23, 2023
@florimondmanca florimondmanca marked this pull request as ready for review February 23, 2023 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants