Skip to content

SEC-3038: Warn of default HSTS header impact in migration docs #3207

@spring-projects-issues

Description

@spring-projects-issues

Thomas Timbul (Migrated from SEC-3038) said:

The enabling of HSTS by default can have a huge impact on sites that have never used HSTS before and may be unaware that this can (and likely will) break a site with mixed content.

Although the documentation mentions that HSTS is now enabled by default, there should be a large and explicit warning that it should either be disabled explicitly (though perhaps not recommended), or ALL content must be switched to using https.
It should be clearly highlighted that in simple terms the effect of HSTS is for the browser to permanently (for a year) remember your site as using https only, so that having both http content and HSTS will cause infinite redirects in browsers that support HSTS (i.e. all modern ones).

The steps to remedy should then be explained in case this issue had been encountered (for example configure HSTS with max-age=0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: docsAn issue in Documentation or samplestype: enhancementA general enhancementtype: jiraAn issue that was migrated from JIRA

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions