Update outdated links with redirects (#2558)

This commit is contained in:
Jon Koops 2022-05-03 07:56:42 +02:00 committed by GitHub
parent 57ad3dfed1
commit c8263c00e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 11 deletions

View file

@ -25,18 +25,21 @@ const SIGNATURE_ALGORITHMS = [
const KEYNAME_TRANSFORMER = ["NONE", "KEY_ID", "CERT_SUBJECT"] as const;
const CANONICALIZATION = [
{ name: "EXCLUSIVE", value: "http://www.w3.org/2001/10/xml-exc-c14n#" },
{
name: "EXCLUSIVE",
value: "https://www.w3.org/TR/2002/REC-xml-exc-c14n-20020718/",
},
{
name: "EXCLUSIVE_WITH_COMMENTS",
value: "http://www.w3.org/2001/10/xml-exc-c14n#WithComments",
value: "https://www.w3.org/TR/2002/REC-xml-exc-c14n-20020718/#WithComments",
},
{
name: "INCLUSIVE",
value: "http://www.w3.org/TR/2001/REC-xml-c14n-20010315",
value: "https://www.w3.org/TR/2001/REC-xml-c14n-20010315",
},
{
name: "INCLUSIVE_WITH_COMMENTS",
value: "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments",
value: "https://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments",
},
] as const;

View file

@ -30,31 +30,31 @@ export const HeadersForm = ({ save, reset }: HeadersFormProps) => {
>
<HelpLinkTextInput
fieldName="browserSecurityHeaders.xFrameOptions"
url="http://tools.ietf.org/html/rfc7034"
url="https://datatracker.ietf.org/doc/html/rfc7034"
/>
<HelpLinkTextInput
fieldName="browserSecurityHeaders.contentSecurityPolicy"
url="http://www.w3.org/TR/CSP/"
url="https://www.w3.org/TR/CSP/"
/>
<HelpLinkTextInput
fieldName="browserSecurityHeaders.contentSecurityPolicyReportOnly"
url="http://www.w3.org/TR/CSP/"
url="https://www.w3.org/TR/CSP/"
/>
<HelpLinkTextInput
fieldName="browserSecurityHeaders.xContentTypeOptions"
url="https://www.owasp.org/index.php/List_of_useful_HTTP_headers"
url="https://owasp.org/index.php/List_of_useful_HTTP_headers"
/>
<HelpLinkTextInput
fieldName="browserSecurityHeaders.xRobotsTag"
url="https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag"
url="https://developers.google.com/search/docs/advanced/robots/robots_meta_tag"
/>
<HelpLinkTextInput
fieldName="browserSecurityHeaders.xXSSProtection"
url="https://www.owasp.org/index.php/OWASP_Secure_Headers_Project#xxxsp"
url="https://owasp.org/www-project-secure-headers/#xxxsp"
/>
<HelpLinkTextInput
fieldName="browserSecurityHeaders.strictTransportSecurity"
url="https://www.owasp.org/index.php/OWASP_Secure_Headers_Project#hsts"
url="https://owasp.org/www-project-secure-headers/#hsts"
/>
<ActionGroup>