mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 17:55:58 +03:00
[PR #6881] [CLOSED] Add Google S2 icon cache fallback for favicon fetching #3869
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#3869
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/6881
Author: @Shocker
Created: 2/27/2026
Status: ❌ Closed
Base:
main← Head:google-s2-fallback📝 Commits (1)
34536bdAdd Google S2 icon cache fallback for favicon fetching📊 Changes
1 file changed (+3 additions, -0 deletions)
View changed files
📝
src/api/icons.rs(+3 -0)📄 Description
LATER EDIT: ignore the request but see the comments below
In case the favicon download fails due to anti-bot/anti-crawler techniques (most likely HTTP code 403 or even 444) fallback to Google icon cache which is almost sure to have the favicon cached.
While it may seem a bad idea to hardcode links like this, an increasingly amount of sites started using such techniques, especially aggressive Cloudflare-protected sites, causing Vaultwarden to fail in fetching favicons
P.S.: For this pull request to work, https://github.com/dani-garcia/vaultwarden/pull/6880 also needs to be accepted/merged
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.