[PR #235] [MERGED] 78 impose stricter cors policy #338

Closed
opened 2026-02-27 19:17:49 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/EddieTheCubeHead/Stagnum/pull/235
Author: @EddieTheCubeHead
Created: 4/14/2024
Status: Merged
Merged: 4/14/2024
Merged by: @EddieTheCubeHead

Base: masterHead: 78-impose-stricter-cors-policy


📝 Commits (5)

  • 00ec2ac 78 Impose stricter CORS policy. Get allowed origins from env
  • c80c67b Merge branch '151-subtask-update-serverreadmemd' into 78-impose-stricter-cors-policy
  • a7515f9 78 Update README with the new env variable
  • 67f5ee3 Merge branch 'master' into 78-impose-stricter-cors-policy
  • 3a755d9 Merge branch 'master' into 78-impose-stricter-cors-policy

📊 Changes

2 files changed (+14 additions, -2 deletions)

View changed files

📝 server/README.md (+1 -0)
📝 server/src/api/application.py (+13 -2)

📄 Description

CORS allowed endpoints can now be controlled by the CORS_ORIGINS env variable. Also imposed stricter validation for methods and headers in CORS


🔄 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/EddieTheCubeHead/Stagnum/pull/235 **Author:** [@EddieTheCubeHead](https://github.com/EddieTheCubeHead) **Created:** 4/14/2024 **Status:** ✅ Merged **Merged:** 4/14/2024 **Merged by:** [@EddieTheCubeHead](https://github.com/EddieTheCubeHead) **Base:** `master` ← **Head:** `78-impose-stricter-cors-policy` --- ### 📝 Commits (5) - [`00ec2ac`](https://github.com/EddieTheCubeHead/Stagnum/commit/00ec2ac96a0346fdcc59e21d1c076129b1d92881) 78 Impose stricter CORS policy. Get allowed origins from env - [`c80c67b`](https://github.com/EddieTheCubeHead/Stagnum/commit/c80c67be39f80ae62ae6f03db955bbcfccf5ae8f) Merge branch '151-subtask-update-serverreadmemd' into 78-impose-stricter-cors-policy - [`a7515f9`](https://github.com/EddieTheCubeHead/Stagnum/commit/a7515f91adaab5df31eca1a5a42cc76e011f173d) 78 Update README with the new env variable - [`67f5ee3`](https://github.com/EddieTheCubeHead/Stagnum/commit/67f5ee3c1596cd14bd25f5eb8dfad53950d57799) Merge branch 'master' into 78-impose-stricter-cors-policy - [`3a755d9`](https://github.com/EddieTheCubeHead/Stagnum/commit/3a755d98d887b0306fb827a417885e48c8fc6c5b) Merge branch 'master' into 78-impose-stricter-cors-policy ### 📊 Changes **2 files changed** (+14 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `server/README.md` (+1 -0) 📝 `server/src/api/application.py` (+13 -2) </details> ### 📄 Description CORS allowed endpoints can now be controlled by the CORS_ORIGINS env variable. Also imposed stricter validation for methods and headers in CORS --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 19:17:49 +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/Stagnum#338
No description provided.