"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Http/Middleware/EncryptedCookieMiddleware.php" between
cakephp-4.2.2.tar.gz and cakephp-4.2.3.tar.gz

About: CakePHP is a rapid development framework for PHP applications. Source code.

EncryptedCookieMiddleware.php  (cakephp-4.2.2):EncryptedCookieMiddleware.php  (cakephp-4.2.3)
skipping to change at line 28 skipping to change at line 28
use Cake\Http\Cookie\CookieCollection; use Cake\Http\Cookie\CookieCollection;
use Cake\Http\Response; use Cake\Http\Response;
use Cake\Utility\CookieCryptTrait; use Cake\Utility\CookieCryptTrait;
use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface; use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface; use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface; use Psr\Http\Server\RequestHandlerInterface;
/** /**
* Middlware for encrypting & decrypting cookies. * Middleware for encrypting & decrypting cookies.
* *
* This middleware layer will encrypt/decrypt the named cookies with the given k ey * This middleware layer will encrypt/decrypt the named cookies with the given k ey
* and cipher type. To support multiple keys/cipher types use this middleware mu ltiple * and cipher type. To support multiple keys/cipher types use this middleware mu ltiple
* times. * times.
* *
* Cookies in request data will be decrypted, while cookies in response headers will * Cookies in request data will be decrypted, while cookies in response headers will
* be encrypted automatically. If the response is a Cake\Http\Response, the cook ie * be encrypted automatically. If the response is a Cake\Http\Response, the cook ie
* data set with `withCookie()` and `cookie()`` will also be encrypted. * data set with `withCookie()` and `cookie()`` will also be encrypted.
* *
* The encryption types and padding are compatible with those used by CookieComp onent * The encryption types and padding are compatible with those used by CookieComp onent
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)