mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 09:46:00 +03:00
[PR #6487] [MERGED] Fix icon redirect caching #3792
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#3792
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/6487
Author: @BlackDex
Created: 11/23/2025
Status: ✅ Merged
Merged: 11/23/2025
Merged by: @dani-garcia
Base:
main← Head:icon-fixes📝 Commits (1)
d54c17dFix icon redirect caching📊 Changes
1 file changed (+7 additions, -6 deletions)
View changed files
📝
src/api/icons.rs(+7 -6)📄 Description
As reported in #6477, redirection of favicon's didn't allowed caching. This commit fixes this by adding the
Cachedwrapper around the response. It will use the same TTL's used for downloading icon's locally.Also removed
_as valid domain character, these should not be used in FQDN's at all. Those only serve as special chars used in domain labels, mostly used in SRV or TXT records.Fixes #6477
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.