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-03-08 20:03:13 +01:00
2024-03-05 08:59:39 +01:00
2024-03-01 13:30:40 +01:00
2024-03-10 17:35:55 +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-13 08:23:15 +01:00
2023-08-05 22:02:01 +03:00
2024-03-08 20:03:13 +01:00
2024-02-29 08:29:59 +01:00
2024-02-29 08:50:13 +01:00
2024-02-19 14:33:10 +01:00
2024-03-08 20:03:13 +01:00
2024-02-29 08:29:59 +01:00
2024-03-08 20:03:13 +01:00
2024-03-08 20:03:13 +01:00
2024-03-10 10:47:21 +03:00
2024-03-08 20:03:13 +01:00
2024-02-13 08:23:15 +01:00
2024-02-29 08:29:59 +01:00
2024-01-21 08:32:23 +01:00
2024-02-29 08:29:59 +01:00
2024-03-08 20:03:13 +01:00
2023-08-05 22:02:01 +03:00
2024-02-29 08:29:59 +01:00