GoogleChrome/lighthouse
Canonical URL audit mistakes invalid URLs for relative ones
Closed
#12,008 opened on Jan 26, 2021
P3good first issue
Repository metrics
- Stars
- (27,768 stars)
- PR merge metrics
- (Avg merge 18d 18h) (40 merged PRs in 30d)
Description
Provide the steps to reproduce
- Run LH on https://output.jsbin.com/vulerujohi for just the
canonicalaudit
What is the current behavior?
The audit fails with explanation Relative URL (https:// example.com)
What is the expected behavior?
The audit fails with explanation Invalid URL (https:// example.com)
Environment Information
- Affected Channels: CLI, Node, DevTools
- Lighthouse version: 7.0.1
- Chrome version: 88.0.4324.96
- Node.js version: 14.15.4
- Operating System: macOS Mojave 10.14.6