fiber/middleware
Jason McNeil fcb853788b
feat(middleware/csrf): Add support for trusted origins (#2910)
* feat(middleware/csrf): Add support for trusted origins in CSRF middleware

* fix(middleware/csrf): lint errors

* docs(middleware/csrf): following the ai

* fix(middleware/csrf): isSameSchemeAndDomain

* fix(middleware/csrf): null origin

expand tests to check invalid urls in headers

* chore(middleware/csrf): Sentinel Errors

test(middleware/csrf): improve coverage

* docs: add extra space between sentences.

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

* chore(middleware/csrf): remove trailing newline in csrf_test.go

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-03-10 17:35:55 +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
2024-02-29 08:29:59 +01:00
2024-02-29 08:29:59 +01:00