mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-25 17:25:57 +03:00
[GH-ISSUE #230] Custom Equivalent Domains API results in 404 #115
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#115
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 @lorenzschmid on GitHub (Oct 22, 2018).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/230
When trying to set a new "Custom Equivalent Domains" (under Settings > Domain Rules) I receive an error popup: "An error has occurred. An unexpected error has occurred.". Looking at the developer tools I see that the API call
PUT https://[domain]/api/settings/domainsgets a 404 response.Using Version 2.4.0 in a docker container.
@mprasil commented on GitHub (Oct 22, 2018):
Thanks for reporting this. We're currently handling the settings via the
POSTto/api/settings/domains. I guess this got changed in latest Vault and it's nowPUTcall - just like many otherPOSTcalls in the past. This should be easy to fix.@lorenzschmid commented on GitHub (Oct 22, 2018):
I don't know Rust but isn't it just about chaning the argument in the following line from
posttoput?@mprasil commented on GitHub (Oct 22, 2018):
Almost. Ideally we want to create alias so that both old and new API works. (so that we don't break old clients)