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

05_MM_MY #24

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open

05_MM_MY #24

wants to merge 20 commits into from

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