13 May
2012
13 May
'12
6:51 p.m.
2012/5/13 David Precious <davidp@preshweb.co.uk>:
the // instead of || tests for definedness rather than truth. Thank you all for the feedback.
Your version means that, if you set hsts_age to 0 in the config, the default of a year would be used instead - that's quite probably not desirable. Maybe yes 0 is not desirable, I must test that.
I believe defined-or was introduced in 5.10, though, and the plugin doesn't include 'use 5.010' or similar, so I imagine there will be failures on < 5.8 perls. Ok I'm going fix that is the next release, sorry.
-- \0/ Hobbestigrou site web: erakis.im