Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update max-age in HSTS sample #27452

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

Merged
merged 2 commits into from
Jul 23, 2021
Merged

Update max-age in HSTS sample #27452

merged 2 commits into from
Jul 23, 2021

Conversation

apuyou
Copy link
Contributor

@apuyou apuyou commented Jul 23, 2021

The previous paragraph mentions a max-age of 2 years, so the number of seconds should match.

Documentation / Examples

  • Make sure the linting passes

The previous paragraph mentions a max-age of 2 years, so the number of seconds should match.
Copy link
Member

@ijjk ijjk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ijjk ijjk merged commit fac083b into vercel:canary Jul 23, 2021
@leerob
Copy link
Member

leerob commented Jul 24, 2021

Whoops, I think it was supposed to be 1 year. I don't think you can set a max age longer than a year (I could be wrong).

@ijjk
Copy link
Member

ijjk commented Jul 24, 2021

@leerob this does look correct, seems 2 years is valid now but the limit used to be 1 year per the MDN doc we link https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security#examples

flybayer pushed a commit to blitz-js/next.js that referenced this pull request Aug 19, 2021
The previous paragraph mentions a max-age of 2 years, so the number of seconds should match.
@vercel vercel locked as resolved and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants