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

Closed
opened 2025-11-07 07:59:40 -06:00 by GiteaMirror · 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>
GiteaMirror added the pull-request label 2025-11-07 07:59:40 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#2963