mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #433] Data Breach Report throws error if account not breached/404 is returned #256
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#256
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?
Originally created by @domainzero on GitHub (Mar 13, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/433
Running the Data Breach Report on an account that has no breaches listed returns an error in the UI instead of a "No breaches found" error. According to the logs, a 404 is returned from the API. This looks like it's probably a web vault issue, but I'm not sure if this problem exists upstream.
Here's a snippet from
docker logs:@dani-garcia commented on GitHub (Mar 13, 2019):
Thanks for bringing this up, when HIBP doesn't find a breach it returns a 404, which we treat as an error and return a generic 400. I've changed it to return a 404 correctly in the latest commit and I've tested that it now works correctly. (
github.com/dani-garcia/bitwarden_rs@61515160a7)