mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-25 17:25:57 +03:00
[PR #1220] [MERGED] Return 404 instead of fallback icon #2917
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#2917
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/1220
Author: @jameshurst
Created: 11/10/2020
Status: ✅ Merged
Merged: 11/14/2020
Merged by: @dani-garcia
Base:
master← Head:master📝 Commits (2)
ed70b07Return 404 instead of fallback icon7712331Fix for negcached icons📊 Changes
2 files changed (+16 additions, -18 deletions)
View changed files
📝
src/api/icons.rs(+16 -18)➖
src/static/fallback-icon.png(+0 -0)📄 Description
Returning a 404 not found error instead of the fallback icon allows clients to use their own icon instead (which may be higher quality than the fallback icon). This behaviour matches that of the official icons server as well (https://github.com/bitwarden/server/blob/master/src/Icons/Controllers/IconsController.cs#L89-L93).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.