The --short option seems to lead to warning messages.
Example:
$ ./o-saft.pl --short +hsts www.twitter.com
Output:
=== reading: ./.o-saft.pl (options done) ===
**WARNING: Can't do DNS reverse lookup: for www.twitter.com: <<gethostbyaddr() failed>>; ignored
**WARNING: no reply: 'Connection reset by peer'
HTTPS STS MaxAge: 631138519
HTTPS STS sub-domains:
Redirects to same host: yes
STS header not for IP: yes
HTTP Status code is 301: yes
HTTP Status code not 30x: yes
STS and Location header: no (https://twitter.com/)
Redirects without STS: yes
STS and no Refresh header: yes
STS header: yes
STS long max-age: no (631138519 = 7304 days)
Use of uninitialized value $label in concatenation (.) or string at ./o-saft.pl line 3848.
: no (> 0)
Use of uninitialized value $label in concatenation (.) or string at ./o-saft.pl line 3848.
: no (> 86400)
Use of uninitialized value $label in concatenation (.) or string at ./o-saft.pl line 3848.
: no (> 2592000)
Use of uninitialized value $label in concatenation (.) or string at ./o-saft.pl line 3848.
: no (> 31536000)
Use of uninitialized value $label in concatenation (.) or string at ./o-saft.pl line 3848.
: yes
STS includeSubdomain: no ( )
Without --short no warning regarding uninitialized values is shown.
The --short option seems to lead to warning messages.
Example:
Output:
Without --short no warning regarding uninitialized values is shown.