Mark Story
|
1f30a17a64
Add missing type checks to SecurityComponent and CSRF middleware.
|
5 years ago |
Edgaras Janušauskas
|
68a6ab436e
Update tests/TestCase/Http/Middleware/CsrfProtectionMiddlewareTest.php
|
6 years ago |
Edgaras Janušauskas
|
51d1aff5c8
Delete cookie with invalid CSRF token
|
6 years ago |
Mark Story
|
f70f533d07
Fix lint errors.
|
6 years ago |
Mark Story
|
1cee60b61f
Further harden CSRF token comparisons
|
6 years ago |
ADmad
|
0defa45cbf
Replace Zend framework packages with Laminas.
|
6 years ago |
Mark Story
|
64a5753870
Fix import order.
|
6 years ago |
Mark Story
|
3b369e2760
Fix CSRF tokens not being set on diactoros responses
|
6 years ago |
ADmad
|
33f9c78dff
Merge pull request #13776 from CakeDC/issue/13767
|
6 years ago |
ADmad
|
8cc3cf9dbd
Make CookieInterface::toArray() return a flat array.
|
6 years ago |
Jorge González
|
a713820abe
fix cs, make stan happy
|
6 years ago |
Jorge González
|
9657abbe89
add test
|
6 years ago |
ADmad
|
2e307adf92
Update CsrfProtectionMiddleware tests related to cookies.
|
6 years ago |
Mark Story
|
49ca31fce4
Fix phpcs and psalm errors.
|
6 years ago |
Mark Story
|
cf8c548c52
First draft of http package
|
6 years ago |
ADmad
|
e80b025d79
Ensure csrf token is always cleared.
|
6 years ago |
ADmad
|
38e0f49776
Set CSRF token as separate request attribute.
|
6 years ago |
mscherer
|
15f02f9450
Cleaner asserting for strict typehinting, lots of false positives fixed.
|
6 years ago |
ADmad
|
d62447834a
Merge branch '3.next' into 4.x
|
6 years ago |
Ian den Hartog
|
87ca958b3c
Fix return annotation CsrfProtectionMiddlewareTest::_getRequestHandler
|
6 years ago |
ADmad
|
3b017e4925
Update test
|
7 years ago |
ADmad
|
e7ad46d61f
Remove return typehint to make code compatibale with PHP<=7
|
7 years ago |
ADmad
|
95af9f3804
Allow request whitelisting in CsrfProtectionMiddleware.
|
7 years ago |
ADmad
|
cf569b9c15
Fix CS error.
|
7 years ago |
ADmad
|
bb7d60711e
Update CsrfProtectionMiddleware to PSR 15 standard.
|
7 years ago |
ADmad
|
d2a83e2484
Add strict typing to Http\Middleware.
|
7 years ago |
ADmad
|
9bd82d7ac1
Fix CS errors.
|
7 years ago |
Mark Story
|
7a5e33348c
Update uses of HttpExceptions.
|
8 years ago |
Mark Story
|
a296960cb9
Fix remaining tests in Http package.
|
8 years ago |
Dariusz Ruminski
|
c936250731
Use adventage of newer PHPUnit sytax
|
8 years ago |