[PR #6432] [MERGED] fix: Prevent crash while setting Strict-Transport-Security security header #92920

Closed
opened 2026-05-15 18:35:04 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/6432
Author: @diwakar-s-maurya
Created: 10/26/2024
Status: Merged
Merged: 10/26/2024
Merged by: @tjbck

Base: devHead: main


📝 Commits (1)

  • 0a7bc50 Prevent crash while setting Strict-Transport-Security security header

📊 Changes

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

View changed files

📝 backend/open_webui/utils/security_headers.py (+1 -1)

📄 Description

Issue discussion: https://github.com/open-webui/open-webui/discussions/6431

Changelog Entry

Fixed

  • Prevent crash while setting Strict-Transport-Security header through HSTS environment variable.

🔄 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/open-webui/open-webui/pull/6432 **Author:** [@diwakar-s-maurya](https://github.com/diwakar-s-maurya) **Created:** 10/26/2024 **Status:** ✅ Merged **Merged:** 10/26/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `main` --- ### 📝 Commits (1) - [`0a7bc50`](https://github.com/open-webui/open-webui/commit/0a7bc5027950dca74e74afc50c75aa4eb7d3959b) Prevent crash while setting Strict-Transport-Security security header ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/utils/security_headers.py` (+1 -1) </details> ### 📄 Description Issue discussion: https://github.com/open-webui/open-webui/discussions/6431 # Changelog Entry ### Fixed - Prevent crash while setting Strict-Transport-Security header through HSTS environment variable. --- <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 2026-05-15 18:35:04 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#92920