fiber/middleware/cors
xEricL 298975a982
🔥Feature: Add support for TrustProxy (#3170)
* 🔥 Feature: Add `TrustProxyConfig` and rename `EnableTrustedProxyCheck` to `TrustProxy`

* 📚 Doc: Document TrustProxyConfig usage and migration

* 🚨 Test: Validate and Benchmark use of TrustProxyConfig

* 🩹 Fix: typo in RequestMethods docstring

* 🩹 Fix: typos in TrustProxy docstring and JSON tags

* 🩹 Fix: Move `TrustProxyConfig.Loopback` to beginning of if-statement

* 🎨 Style: Cleanup spacing for Test_Ctx_IsProxyTrusted

* 📚 Doc: Replace `whitelist` with `allowlist` for clarity

* 📚 Doc: Improve `TrustProxy` doc wording

* 🩹 Fix: validate IP addresses in `App.handleTrustedProxy`

* 🩹 Fix: grammatical errors and capitalize "TLS"
2024-10-17 08:29:03 +02:00
..
config.go 🔥Feature: Add support for TrustProxy (#3170) 2024-10-17 08:29:03 +02:00
cors.go Use utils Trim functions instead of the strings/bytes functions (#3087) 2024-07-24 16:25:35 +02:00
cors_test.go v3: Use Named Fields Instead of Positional and Align Structures to Reduce Memory Usage (#3079) 2024-07-23 08:37:45 +02:00
utils.go 🩹 Fix: Middleware/CORS Remove Scheme Restriction (#3163) 2024-10-11 15:02:36 +03:00
utils_test.go 🩹 Fix: Middleware/CORS Remove Scheme Restriction (#3163) 2024-10-11 15:02:36 +03:00