fiber/docs/api/middleware
Jason McNeil b50d91d58e
Merge pull request from GHSA-94w9-97p3-p368
* feat: improved csrf with session support

* fix: double submit cookie

* feat: add warning cookie extractor without session

* feat: add warning CsrfFromCookie SameSite

* fix: use byes.Equal instead

* fix: Overriden CookieName KeyLookup cookie:<name>

* feat: Create helpers.go

* feat: use compareTokens (constant time compare)

* feat: validate cookie to prevent token injection

* refactor: clean up csrf.go

* docs: update comment about Double Submit Cookie

* docs: update docs for CSRF changes

* feat: add DeleteToken

* refactor: no else

* test: add more tests

* refactor: re-order tests

* docs: update safe methods RCF add note

* test: add CSRF_Cookie_Injection_Exploit

* feat: add SingleUseToken config

* test: check for new token

* docs: use warning

* fix: always register type Token

* feat: use UUIDv4

* test: swap in UUIDv4 here too
2023-10-11 14:41:42 +02:00
..
_category_.json 📝 docs: automated synchronization with `gofiber/docs` (#2344) 2023-02-25 10:29:07 +01:00
adaptor.md improved the config section of the middleware readme´s (#2552) 2023-07-24 16:46:50 +02:00
basicauth.md improved the config section of the middleware readme´s (#2552) 2023-07-24 16:46:50 +02:00
cache.md Update cache.md 2023-09-20 09:14:58 +02:00
compress.md improve compress middleware documentation 2023-10-05 09:00:11 +02:00
cors.md 📝 middleware: cors: update docs to better explain AllowOriginsFunc (#2652) 2023-09-28 08:28:35 +02:00
csrf.md Merge pull request from GHSA-94w9-97p3-p368 2023-10-11 14:41:42 +02:00
earlydata.md improved the config section of the middleware readme´s (#2552) 2023-07-24 16:46:50 +02:00
encryptcookie.md improved the config section of the middleware readme´s (#2552) 2023-07-24 16:46:50 +02:00
envvar.md improved the config section of the middleware readme´s (#2552) 2023-07-24 16:46:50 +02:00
etag.md improved the config section of the middleware readme´s (#2552) 2023-07-24 16:46:50 +02:00
expvar.md improved the config section of the middleware readme´s (#2552) 2023-07-24 16:46:50 +02:00
favicon.md Add custom data property to favicon middleware config (#2579) 2023-08-17 15:04:53 +02:00
filesystem.md improve sendFile documentation 2023-10-06 11:43:10 +02:00
helmet.md improved the config section of the middleware readme´s (#2552) 2023-07-24 16:46:50 +02:00
idempotency.md improved the config section of the middleware readme´s (#2552) 2023-07-24 16:46:50 +02:00
keyauth.md improved the config section of the middleware readme´s 2023-07-24 17:03:11 +02:00
limiter.md improved the config section of the middleware readme´s (#2552) 2023-07-24 16:46:50 +02:00
logger.md improved the config section of the middleware readme´s (#2552) 2023-07-24 16:46:50 +02:00
monitor.md improved the config section of the middleware readme´s (#2552) 2023-07-24 16:46:50 +02:00
pprof.md improved the config section of the middleware readme´s (#2552) 2023-07-24 16:46:50 +02:00
proxy.md improved the config section of the middleware readme´s 2023-07-24 17:03:11 +02:00
recover.md improved the config section of the middleware readme´s (#2552) 2023-07-24 16:46:50 +02:00
redirect.md improved the config section of the middleware readme´s (#2552) 2023-07-24 16:46:50 +02:00
requestid.md improved the config section of the middleware readme´s (#2552) 2023-07-24 16:46:50 +02:00
rewrite.md improved the config section of the middleware readme´s (#2552) 2023-07-24 16:46:50 +02:00
session.md feat: add Reset method to Session struct in session middleware (#2654) 2023-10-02 15:19:35 +02:00
skip.md improved the config section of the middleware readme´s (#2552) 2023-07-24 16:46:50 +02:00
timeout.md improved the config section of the middleware readme´s (#2552) 2023-07-24 16:46:50 +02:00