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

Fix "preload" markup - HSTS rules #16

Merged
merged 3 commits into from
Mar 11, 2018
Merged

Fix "preload" markup - HSTS rules #16

merged 3 commits into from
Mar 11, 2018

Conversation

Enaah
Copy link
Contributor

@Enaah Enaah commented Feb 25, 2018

TLDR;
the last semicolon was obsolete.

PreStory

Checked my site with this tool and the submission failed because the Markup wasn't correct.

  • The Required Markup (according to RFC6769):
    Strict-Transport-Security: max-age=63072000; includeSubDomains; preload

  • The provided Markup from this package:
    Strict-Transport-Security: max-age=63072000; includeSubDomains; preload;

Conlusion: remove the last ;

- implements the Markup described in the  RFC 6797
- correct:
"Strict-Transport-Security: max-age=63072000; includeSubDomains; preload"
- incorrect:
"Strict-Transport-Security: max-age=63072000; includeSubDomains; preload;"
- replaces double-quotes with single-quotes
- updates the "test_hsts()"-Test to match the correct HSTS-requirements
@Enaah Enaah changed the title Fix "preload" markup Fix "preload" markup - HSTS rules Feb 25, 2018
@Enaah
Copy link
Contributor Author

Enaah commented Mar 5, 2018

Hey @bepsvpt,

is anything missing or do I need to add something?

Cheers,
Enaah

@bepsvpt bepsvpt merged commit 0bfc50d into bepsvpt:master Mar 11, 2018
@bepsvpt
Copy link
Owner

bepsvpt commented Mar 11, 2018

@Enaah thanks a lot.

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