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
..
2023-02-25 10:29:07 +01:00
2024-01-14 23:04:54 +03:00
2024-01-08 16:42:07 +01:00
2024-01-19 14:43:44 +01:00
2024-01-08 16:42:07 +01:00
2024-02-29 08:29:59 +01:00
2024-03-10 17:35:55 +01:00
2024-01-08 16:31:15 +01:00
2024-02-29 08:29:59 +01:00
2024-01-08 16:42:07 +01:00
2024-01-08 16:42:07 +01:00
2024-01-08 16:42:07 +01:00
2024-01-08 16:42:07 +01:00
2024-01-08 16:42:07 +01:00
2024-03-08 12:48:45 +01:00
2024-01-08 16:42:07 +01:00
2024-01-08 16:42:07 +01:00
2024-02-18 18:34:55 -08:00
2024-01-08 16:42:07 +01:00
2024-02-29 08:29:59 +01:00
2024-01-08 16:42:07 +01:00
2024-01-08 16:42:07 +01:00
2024-01-08 16:42:07 +01:00
2024-01-14 23:04:54 +03:00
2024-01-08 16:42:07 +01:00
2024-01-08 16:42:07 +01:00
2024-01-08 16:42:07 +01:00
2024-01-14 23:04:54 +03:00
2024-01-08 16:42:07 +01:00
2024-02-29 08:29:59 +01:00