[PR #358] [MERGED] Add parameter to forward request header to source image server #1035

Closed
opened 2026-03-15 15:49:03 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/flyimg/flyimg/pull/358
Author: @lrealdi
Created: 9/22/2023
Status: Merged
Merged: 9/26/2023
Merged by: @sadok-f

Base: mainHead: feature-forward-request-header


📝 Commits (2)

  • 5fbc927 Add parameter to forward request header to source image server
  • d6fb21c Fix php cs

📊 Changes

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

View changed files

📝 config/parameters.yml (+3 -0)
📝 src/Core/Entity/Image/InputImage.php (+21 -2)

📄 Description

Introduces a parameter to configure a list of headers to forward to the image server.

Resolve issue https://github.com/flyimg/flyimg/issues/357

Security note:
if the list includes the Authorization header the path of the temporary file is modified with the hash of the value


🔄 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/flyimg/flyimg/pull/358 **Author:** [@lrealdi](https://github.com/lrealdi) **Created:** 9/22/2023 **Status:** ✅ Merged **Merged:** 9/26/2023 **Merged by:** [@sadok-f](https://github.com/sadok-f) **Base:** `main` ← **Head:** `feature-forward-request-header` --- ### 📝 Commits (2) - [`5fbc927`](https://github.com/flyimg/flyimg/commit/5fbc9270c35228c9b208f133adf0e1d822ac5323) Add parameter to forward request header to source image server - [`d6fb21c`](https://github.com/flyimg/flyimg/commit/d6fb21cfdb86dd7b8ad5b2ddd1a637062cf31a8f) Fix php cs ### 📊 Changes **2 files changed** (+24 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `config/parameters.yml` (+3 -0) 📝 `src/Core/Entity/Image/InputImage.php` (+21 -2) </details> ### 📄 Description Introduces a parameter to configure a list of headers to forward to the image server. Resolve issue https://github.com/flyimg/flyimg/issues/357 Security note: if the list includes the Authorization header the path of the temporary file is modified with the hash of the value --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 15:49:03 +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/flyimg#1035
No description provided.