Skip to content

Conversation

@MathisMontegnies
Copy link

CSP

imm8 and others added 20 commits February 9, 2023 00:51
The rules enforced allow script, image, plus style resources to be loaded from the same origin, and Websocket connection to be established similarly.
Modified to permit inline styles to be inserted on the page and fonts to be fetched from the same origin.
To permit the Content-Security-Policy header sent by the server to be taken into consideration.
The correct rules are now automatically served from the server upon receiving an HTTP request.
The added script appends an HTML formatted message to the page.
Get verbose information about blocked scripts and later whitelist them.
It whitelists a single SHA256 hash for the scripts that invokes document.write().
Timed annotation seems to be missing, a dependency for metrics-annotation has been added.
A class that acquires the random CSP nonce from the server using the API.
To remove Typescript errors, data is now of type any with no further checks.
Now it's one of the providers and dependency injection can be used afterwards.
Now it makes use of the CspConfig service and displays the CSP nonce on the debug console.
Removed an additional closing bracket.
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