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

CSP round 3(?) #2003

Merged
merged 2 commits into from
Oct 14, 2024
Merged

CSP round 3(?) #2003

merged 2 commits into from
Oct 14, 2024

Conversation

YoshiRulz
Copy link
Collaborator

@YoshiRulz YoshiRulz commented Oct 5, 2024

Adds the default-src and require-trusted-types-for directives to pass Google's tester, plus the directives font-src, frame-src, and img-src since they'd otherwise fall back to default-src and that's now too strict. Also adds the unrelated base-uri and form-action directives just because it's a good idea.

@adelikat
Copy link
Collaborator

adelikat commented Oct 9, 2024

Oh I see, you want an endpoint that can be called that can then track requests and report statistics? How about not do that one right now, that's a huge lift and needs to be carefully planned as to where and how it will be stored and reported

@adelikat
Copy link
Collaborator

adelikat commented Oct 9, 2024

inject an AppSettings object and there is a BaseUrl property in there

@YoshiRulz
Copy link
Collaborator Author

YoshiRulz commented Oct 9, 2024

Rebased, moving all the reporting stuff to a third commit which is on another branch, to be finished later in #2009.

@YoshiRulz YoshiRulz marked this pull request as ready for review October 9, 2024 15:42
@adelikat adelikat merged commit 5742d41 into TASVideos:main Oct 14, 2024
1 check passed
@YoshiRulz YoshiRulz deleted the csp-round-3-maybe branch October 15, 2024 05:26
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