Skip to content

Commit

Permalink
fix strict-transport-security header value (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
herbeck558 authored Apr 13, 2021
1 parent f075123 commit 3444bc1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public class MainServletFilter implements Filter {
// Cross site support header names
public static final String HEADER_ACCESS_CONTROL_ORIGIN = "Access-Control-Allow-Origin";
public static final String HEADER_STRICT_TRANSPORT_SECURITY = "strict-transport-security";
public static final String STRICT_TRANSPORT_SETTING = "31536000; includeSubDomains";
public static final String STRICT_TRANSPORT_SETTING = "max-age=31536000; includeSubDomains";
public static final String HEADER_CACHE_CONTROL = "cache-control";
public static final String CACHE_CONTROL_SETTING = "no-store";
public static final String HEADER_PRAGMA = "pragma";
Expand Down

0 comments on commit 3444bc1

Please sign in to comment.