mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-24 19:07:44 +03:00
[PR #6676] [MERGED] improve sso callback path #3792
Reference in New Issue
Block a user
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/6676
Author: @stefan0xC
Created: 1/6/2026
Status: ✅ Merged
Merged: 1/6/2026
Merged by: @BlackDex
Base:
main← Head:improve-sso-callback-path📝 Commits (2)
8f1a80bnormalize base_url for sso_callback_path7fdb4d4clean url when embedding images📊 Changes
1 file changed (+6 additions, -2 deletions)
View changed files
📝
src/config.rs(+6 -2)📄 Description
Currently we remove a trailing slash after making the config:
9f1df42259/src/config.rs (L309)This means that the generated
sso_callback_pathis not yet normalized, which leads to some issues (e.g. https://github.com/dani-garcia/vaultwarden/issues/6180 or https://github.com/dani-garcia/vaultwarden/issues/6601).This change would fix that by applying the same normalization to the generated URL.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.