[PM-40245] Add google favicon API to icon service lookups#7951
[PM-40245] Add google favicon API to icon service lookups#7951kspearrin wants to merge 3 commits into
Conversation
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE Reviewed the addition of the Google Favicon API as the first step in the icon-fetching pipeline, gated behind the new Code Review DetailsNo unresolved findings. All prior review threads are resolved:
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7951 +/- ##
==========================================
+ Coverage 61.45% 61.48% +0.03%
==========================================
Files 2245 2253 +8
Lines 98854 99120 +266
Branches 8945 8962 +17
==========================================
+ Hits 60747 60941 +194
- Misses 35957 36027 +70
- Partials 2150 2152 +2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-40245
📔 Objective
<link rel="icon">flow entirely.https://www.google.com/s2/favicons?domain={domain}&sz=64, which 301-redirects through Google's internalt0.gstatic.com/faviconV2service and returns a PNG. The existingIconHttpRequestpipeline handles the redirect via its SSRF-protected client.404, which propagates through the existingIconLink.FetchAsyncas anullreturn, dropping cleanly into the existing scrape →/favicon.icofallback.IconsSettings.GoogleFaviconEnabledconfig flag. Enable viaIconsSettings__GoogleFaviconEnabled=trueenv var or the equivalent key inappsettings.json. On by default.