[PR #15] fix: minor simplification #14

Open
opened 2026-02-25 22:30:26 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ergin/nginx-cloudflare-real-ip/pull/15
Author: @ndom91
Created: 6/23/2024
Status: 🔄 Open

Base: masterHead: patch-1


📝 Commits (1)

  • 0f5cfc0 fix: minor simplification

📊 Changes

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

View changed files

📝 cloudflare-sync-ips.sh (+4 -7)

📄 Description

  • Use echo -e to be able to include line breaks (\n) and remove the unnecessary echo "" >> ..
  • Fix spacing
  • Cloudflare seems to all-lowercase the header key now, not sure if it makes a difference

🔄 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/ergin/nginx-cloudflare-real-ip/pull/15 **Author:** [@ndom91](https://github.com/ndom91) **Created:** 6/23/2024 **Status:** 🔄 Open **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`0f5cfc0`](https://github.com/ergin/nginx-cloudflare-real-ip/commit/0f5cfc053a58dd690d6ae3d7324f7ebd1a8fda5b) fix: minor simplification ### 📊 Changes **1 file changed** (+4 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `cloudflare-sync-ips.sh` (+4 -7) </details> ### 📄 Description - Use `echo -e` to be able to include line breaks (`\n`) and remove the unnecessary `echo "" >> ..` - Fix spacing - Cloudflare seems to all-lowercase the header key now, not sure if it makes a difference --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
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/nginx-cloudflare-real-ip#14
No description provided.