hi019
983919fd18
CSRF Docs - Add note about how to get token ( #1196 )
2021-03-01 20:32:22 -05:00
Jason McNeil
53e5dc523e
🩹 Fix: CSRF middleware cookie<>storage bug squashed and other improvements ( #1180 )
...
* expire cookie on Post, Delete, Patch and Put
Cookie should always expire on Post, Delete, Patch and Put as it is either valid and will be removed from storage, or is not in storage and invalid
* token and cookie match
* retrigger checks
* csrf tests
* csrf per session strategy
2021-03-01 17:44:17 +01:00
tianjipeng
59b12fbcb2
fix: lookup cookie in response header ( #1191 )
2021-03-01 17:25:36 +01:00
Andrew DeChristopher
13c4245242
🔥 Fix favicon filesystem tests
...
This change exists to support go 1.16 embedded filesystems and other network filesystems that can't simply be read as a file from a system path.
2021-02-24 12:27:32 -05:00
Andrew DeChristopher
6a5698277c
🔥 Add optional FileSystem config to favicon middleware
...
This change exists to support go 1.16 embedded filesystems and other network filesystems that can't simply be read as a file from a system path.
2021-02-24 11:42:54 -05:00
kiyon
0d8fa6bf63
Merge pull request #1187 from kiyonlin/improve-proxy-test
...
👷 Improve proxy middleware test case
2021-02-23 16:28:14 +08:00
Kiyon
1a67fdb343
👷 Improve proxy middleware test case
...
- add t.Parallel()
- use random port
2021-02-23 15:32:27 +08:00
circa10a
c1386ff6c5
📝 docs: add embed example for go 1.16
2021-02-18 09:38:05 -06:00
Joey
557023f399
Merge pull request #1150 from cornerot/patch-1
...
🐛 Fix setting host header in proxy middleware
2021-02-17 14:12:38 +01:00
RW
7d51885384
📚 fix wrong session code example ( #1170 )
...
📚 fix wrong session code example
2021-02-16 14:50:17 +01:00
cornerot
0e2e04b9ba
add fasthttp.LBClient to the proxy middleware
2021-02-04 23:04:11 +03:00
Joey
66c457d5c8
Merge pull request #1135 from tianjipeng/fix/cache
...
ajust config.Next position
2021-01-31 07:55:25 +01:00
tianjipeng
08a2e7a82d
ajust cache middleware config.Next position
2021-01-26 10:26:13 +08:00
Joey
e332d54b29
Merge pull request #1134 from ReneWerner87/improve_bootstrap_for_many_routes
...
⚡ Accelerate start process for many routes #1081
2021-01-25 15:40:35 +01:00
Joey
b03b596a59
Merge pull request #1132 from xenowits/master
...
Reference to issue #1115
2021-01-25 15:39:43 +01:00
Joey
a9b648eda8
Merge pull request #1131 from tianjipeng/master
...
🔥 Feature: recover middleware support print stack trace
2021-01-25 15:38:35 +01:00
Abhishek Kumar
cae82d0a2f
🩹 Fix: fix test for response body
2021-01-24 15:00:51 +00:00
Abhishek Kumar
e8c3a0fac3
🩹 Fix: add separate test for resBody logger variable
2021-01-24 13:11:46 +00:00
ReneWerner87
42755c30e6
⚡ Accelerate start process for many routes #1081
2021-01-24 13:02:21 +01:00
RW
9b3d86098b
📖 fix style
2021-01-24 12:42:22 +01:00
Abhishek Kumar
94589e2348
Merge local changes
2021-01-24 11:21:36 +00:00
Abhishek Kumar
9c18716885
🔥 Feature: add proper tests for new logger variables
2021-01-24 11:21:10 +00:00
xenowits
2b36972d81
🩹 Fix: adjust tab spaces in logger README
2021-01-24 15:49:08 +05:30
xenowits
2a1c717448
🩹 Fix: add new variables to README
2021-01-24 15:41:46 +05:30
xenowits
dc1727fcc7
fix: spacing in logger variables - issue #1115
2021-01-23 23:04:28 +05:30
Abhishek Kumar
7c36b32194
🩹 Fix: reference to logger issue #1115
2021-01-23 17:19:33 +00:00
bluetian
5adafe2ecb
recover middleware support print stack trace
2021-01-23 13:33:49 +08:00
hinoguma
1ad5a618cb
make default handler to private. fix testcase for invalid token and empty token.
2021-01-23 12:39:27 +09:00
hinoguma
19e6a4429d
add custom error func for csrf middleware
2021-01-23 03:45:47 +09:00
Hítalo Silva
bba55cf240
Added total RAM to counters
2021-01-21 18:29:29 -03:00
bestgopher
90acced7c1
fix some statements
2021-01-15 16:56:54 +08:00
bestgopher
07563a1845
fix timing attack
2021-01-15 15:59:13 +08:00
JeffProd
22bbfead6f
Update README limiter
2020-12-26 14:22:17 +01:00
hi019
494474aebd
Merge branch 'master' into master
2020-12-13 22:08:51 -05:00
amalshaji
86f258c4ae
fixed cookie error in csrf.go
2020-12-10 10:45:21 +05:30
Fenny
6dcbdf4e85
🧹 remove invalid config
2020-12-09 01:29:42 +01:00
Fenny
142e6e53be
🩹 fix #1055
2020-12-06 16:43:24 +01:00
Fenny
0fe30ac722
🌀 introduce RegisterType
2020-12-06 16:37:08 +01:00
Fenny
19bee02563
🩹 draft for #1051
2020-12-03 11:56:32 +01:00
Fenny
e28c886d73
🩹 fix internal memory storage
2020-12-03 11:14:33 +01:00
Fenny
cd029a67a7
🩹 fix #1050
2020-12-03 11:07:15 +01:00
nupamore
65a57d194a
fix: set cookie order
2020-12-02 15:34:16 +09:00
Joey
41d797c990
Merge pull request #1045 from Fenny/master
...
🔐 use uuid v4 in session
2020-11-30 14:37:17 +01:00
Fenny
7be78406cb
🔐 use uuid v4 in session
2020-11-30 14:31:10 +01:00
Joey
570f7ac3b4
Merge pull request #1042 from Fenny/master
...
🩹 fix empty CookieName in session
2020-11-28 08:23:46 +01:00
Fenny
d56ca11be8
🩹 fix empty CookieName in session
...
See https://github.com/gofiber/fiber/issues/1040
2020-11-27 16:36:22 +01:00
Joey
51a62a39aa
Merge pull request #1038 from Fenny/master
...
✏ move mutex
2020-11-26 22:36:38 +01:00
Fenny
45d64da9fa
🍿 move mutex
2020-11-26 22:33:35 +01:00
Fenny
a0442be8b6
✏ move mutex
2020-11-26 22:16:49 +01:00
Joey
05bfe1b83b
Merge pull request #1032 from Fenny/master
...
📦 update version
2020-11-26 16:44:56 +01:00