Mercurial > prosody-modules
diff mod_strict_https/mod_strict_https.lua @ 863:efa9c1676d1f
mod_strict_https: Correct underscore to hypen in max-age directive
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 09 Dec 2012 10:55:39 +0100 |
parents | 1b34c8e46ffb |
children | b3158647cb36 |
line wrap: on
line diff
--- a/mod_strict_https/mod_strict_https.lua Wed Dec 05 18:07:46 2012 +0100 +++ b/mod_strict_https/mod_strict_https.lua Sun Dec 09 10:55:39 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;