Link security header help text to MDN (#2733)

This commit is contained in:
Jon Koops 2022-06-02 09:27:29 +02:00 committed by GitHub
parent 8885cd45c2
commit b6d71a25cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,19 +30,19 @@ export const HeadersForm = ({ save, reset }: HeadersFormProps) => {
> >
<HelpLinkTextInput <HelpLinkTextInput
fieldName="browserSecurityHeaders.xFrameOptions" fieldName="browserSecurityHeaders.xFrameOptions"
url="https://datatracker.ietf.org/doc/html/rfc7034" url="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options"
/> />
<HelpLinkTextInput <HelpLinkTextInput
fieldName="browserSecurityHeaders.contentSecurityPolicy" fieldName="browserSecurityHeaders.contentSecurityPolicy"
url="https://www.w3.org/TR/CSP/" url="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy"
/> />
<HelpLinkTextInput <HelpLinkTextInput
fieldName="browserSecurityHeaders.contentSecurityPolicyReportOnly" fieldName="browserSecurityHeaders.contentSecurityPolicyReportOnly"
url="https://www.w3.org/TR/CSP/" url="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only"
/> />
<HelpLinkTextInput <HelpLinkTextInput
fieldName="browserSecurityHeaders.xContentTypeOptions" fieldName="browserSecurityHeaders.xContentTypeOptions"
url="https://owasp.org/index.php/List_of_useful_HTTP_headers" url="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options"
/> />
<HelpLinkTextInput <HelpLinkTextInput
fieldName="browserSecurityHeaders.xRobotsTag" fieldName="browserSecurityHeaders.xRobotsTag"
@ -50,11 +50,11 @@ export const HeadersForm = ({ save, reset }: HeadersFormProps) => {
/> />
<HelpLinkTextInput <HelpLinkTextInput
fieldName="browserSecurityHeaders.xXSSProtection" fieldName="browserSecurityHeaders.xXSSProtection"
url="https://owasp.org/www-project-secure-headers/#xxxsp" url="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection"
/> />
<HelpLinkTextInput <HelpLinkTextInput
fieldName="browserSecurityHeaders.strictTransportSecurity" fieldName="browserSecurityHeaders.strictTransportSecurity"
url="https://owasp.org/www-project-secure-headers/#hsts" url="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security"
/> />
<ActionGroup> <ActionGroup>