EvanHahn opened this issue 6 years ago · 1 comments
Currently, these are equivalent:
hsts({}) hsts({maxAge: null}) hsts({maxAge: undefined})
They shouldn't be—supplying the parameter (at all, even as a nil value) should be considered invalid.
This will be deployed in hsts@3. Follow #29 for progress there.
hsts@3