Skip to content

[PM-35290] feat: auto-prefix https:// and improve validation UX for self-hosted environment URLs#20216

Open
sander-adamse wants to merge 3 commits intobitwarden:mainfrom
sander-adamse:feat/auto-prefix-https-env-url
Open

[PM-35290] feat: auto-prefix https:// and improve validation UX for self-hosted environment URLs#20216
sander-adamse wants to merge 3 commits intobitwarden:mainfrom
sander-adamse:feat/auto-prefix-https-env-url

Conversation

@sander-adamse
Copy link
Copy Markdown

@sander-adamse sander-adamse commented Apr 16, 2026

🎟️ Tracking

Users in our pilot kept running into issues setting up the self-hosted environment, because they forgot to include https://.

📔 Objective

The https:// prefix is basically always required for self-hosted setups, so having users type it manually just adds friction. When you type a bare domain like passwords.company.com, the validator fires immediately telling you to use HTTPS — but that's exactly what it's going to be anyway. Updated the validator to only show an error when http:// is explicitly typed, and added auto-prefixing on save so the protocol gets added automatically if it's missing.

📸 Screenshots

Input

{20319345-9656-4DDD-8176-5660F2EFA302}

Output

{BBEC1F65-FA78-44BD-8B8F-1DE47BA61E3E}

@bitwarden-bot
Copy link
Copy Markdown

Thank you for your contribution! We've added this to our internal tracking system for review.
ID: PM-35290
Link: https://bitwarden.atlassian.net/browse/PM-35290

Details on our contribution process can be found here: https://contributing.bitwarden.com/contributing/pull-requests/community-pr-process.

@bitwarden-bot bitwarden-bot changed the title feat: auto-prefix https:// and improve validation UX for self-hosted environment URLs [PM-35290] feat: auto-prefix https:// and improve validation UX for self-hosted environment URLs Apr 16, 2026
@bitwarden-bot bitwarden-bot added community-pr needs-qa Marks a PR as requiring QA approval labels Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-pr needs-qa Marks a PR as requiring QA approval

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants