GoogleChrome / lighthouse

Automated auditing, performance metrics, and best practices for the web.
https://developer.chrome.com/docs/lighthouse/overview/
Apache License 2.0
28.27k stars 9.35k forks source link

core(is-on-https): pass if http redirects to https #15907

Closed adamraine closed 5 months ago

adamraine commented 6 months ago

Halfway through updating https://github.com/GoogleChrome/lighthouse/pull/13548, I realized this audit already covers the passively checking http/https case. However, it will still flag insecure requests even if they redirect to a secure protocol.

This PR creates an exception for insecure main document redirects.

adamraine commented 5 months ago

Going back to reviving https://github.com/GoogleChrome/lighthouse/pull/13548