"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Http/Middleware/HttpsEnforcerMiddleware.php" between
cakephp-4.0.1.tar.gz and cakephp-4.0.2.tar.gz

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

HttpsEnforcerMiddleware.php  (cakephp-4.0.1):HttpsEnforcerMiddleware.php  (cakephp-4.0.2)
skipping to change at line 21 skipping to change at line 21
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefound ation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefound ation.org)
* @link http://cakephp.org CakePHP(tm) Project * @link http://cakephp.org CakePHP(tm) Project
* @since 4.0.0 * @since 4.0.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License
*/ */
namespace Cake\Http\Middleware; namespace Cake\Http\Middleware;
use Cake\Core\Configure; use Cake\Core\Configure;
use Cake\Http\Exception\BadRequestException; use Cake\Http\Exception\BadRequestException;
use Laminas\Diactoros\Response\RedirectResponse;
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;
use Zend\Diactoros\Response\RedirectResponse;
/** /**
* Enforces use of HTTPS (SSL) for requests. * Enforces use of HTTPS (SSL) for requests.
*/ */
class HttpsEnforcerMiddleware implements MiddlewareInterface class HttpsEnforcerMiddleware implements MiddlewareInterface
{ {
/** /**
* Configuration. * Configuration.
* *
* ### Options * ### Options
 End of changes. 2 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)