Changeset

878:6b7a2d1a1879

Merging from upstream
author Rob Hoelz <rob@hoelz.ro>
date Mon, 10 Dec 2012 22:37:41 +0100
parents 877:cd2262969d2e (current diff) 863:efa9c1676d1f (diff)
children 879:3a17fc0127b1
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_strict_https/mod_strict_https.lua	Mon Dec 10 22:35:17 2012 +0100
+++ b/mod_strict_https/mod_strict_https.lua	Mon Dec 10 22:37:41 2012 +0100
@@ -5,7 +5,7 @@
 
 local http_server = require "net.http.server";
 
-local hsts_header = module:get_option_string("hsts_header", "max_age=31556952"); -- This means "Don't even try to access without HTTPS for a year"
+local hsts_header = module:get_option_string("hsts_header", "max-age=31556952"); -- This means "Don't even try to access without HTTPS for a year"
 
 local _old_send_response;
 local _old_fire_event;