[PR #2494] [CLOSED] Prevent some ROCKET env variables to cause issues #3100

Closed
opened 2026-03-03 09:25:52 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/2494
Author: @BlackDex
Created: 5/24/2022
Status: Closed

Base: mainHead: issue-2482


📝 Commits (1)

  • 4b4733f Prevent some ROCKET env variables to cause issues

📊 Changes

1 file changed (+7 additions, -0 deletions)

View changed files

📝 src/config.rs (+7 -0)

📄 Description

Some ROCKET_ env variables can cause issues if they are set.
With the older Rocket v0.4.x this was not an issue.
But with Rocket v0.5.x some have changed and we control them in a
different way.

This PR removes/unset these variables to prevent errors during startup.
resolves #2482


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/2494 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 5/24/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `issue-2482` --- ### 📝 Commits (1) - [`4b4733f`](https://github.com/dani-garcia/vaultwarden/commit/4b4733f3b4c9d8b8ba341f6d689b30d515d32127) Prevent some ROCKET env variables to cause issues ### 📊 Changes **1 file changed** (+7 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/config.rs` (+7 -0) </details> ### 📄 Description Some ROCKET_ env variables can cause issues if they are set. With the older Rocket v0.4.x this was not an issue. But with Rocket v0.5.x some have changed and we control them in a different way. This PR removes/unset these variables to prevent errors during startup. resolves #2482 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 09:25:52 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#3100
No description provided.