1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-21 06:12:53 +00:00
fiber/middleware
Jason McNeil 643b4b3f53
feat(middleware/csrf): TrustedOrigins using https://*.example.com style subdomains (#2925)
* feat(middleware/csrf): TrustedOrigins using https://*.example.com style subdomains

* Update middleware/csrf/csrf_test.go

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* test(middleware/csrf): parallel test

* test(middleware/csrf): parallel fix

* chmore(middleware/csrf): no pkg/log

* feat(middleware/csrf): Add tests for Trusted Origin deeply nested subdomain

* test(middleware/csrf): fix loop variable tt being captured

* docs(middleware/csrf): TrustedOrigins validates and normalizes note

* test(middleware/csrf): fix Benchmark_Middleware_CSRF_Check

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Juan Calderon-Perez <835733+gaby@users.noreply.github.com>
2024-03-25 15:29:37 +01:00
..
2024-02-29 08:29:59 +01:00
2024-01-04 09:44:45 +01:00
2024-02-29 08:29:59 +01:00
2024-02-29 08:29:59 +01:00
2024-02-29 08:29:59 +01:00
2024-02-29 08:29:59 +01:00
2024-02-29 08:29:59 +01:00
2024-02-29 08:29:59 +01:00