first commit
This commit is contained in:
21
modules/ps_metrics/vendor/symfony/http-foundation/Exception/ConflictingHeadersException.php
vendored
Normal file
21
modules/ps_metrics/vendor/symfony/http-foundation/Exception/ConflictingHeadersException.php
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\HttpFoundation\Exception;
|
||||
|
||||
/**
|
||||
* The HTTP request contains headers with conflicting information.
|
||||
*
|
||||
* @author Magnus Nordlander <magnus@fervo.se>
|
||||
*/
|
||||
class ConflictingHeadersException extends \UnexpectedValueException implements RequestExceptionInterface
|
||||
{
|
||||
}
|
||||
21
modules/ps_metrics/vendor/symfony/http-foundation/Exception/RequestExceptionInterface.php
vendored
Normal file
21
modules/ps_metrics/vendor/symfony/http-foundation/Exception/RequestExceptionInterface.php
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\HttpFoundation\Exception;
|
||||
|
||||
/**
|
||||
* Interface for Request exceptions.
|
||||
*
|
||||
* Exceptions implementing this interface should trigger an HTTP 400 response in the application code.
|
||||
*/
|
||||
interface RequestExceptionInterface
|
||||
{
|
||||
}
|
||||
20
modules/ps_metrics/vendor/symfony/http-foundation/Exception/SuspiciousOperationException.php
vendored
Normal file
20
modules/ps_metrics/vendor/symfony/http-foundation/Exception/SuspiciousOperationException.php
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\HttpFoundation\Exception;
|
||||
|
||||
/**
|
||||
* Raised when a user has performed an operation that should be considered
|
||||
* suspicious from a security perspective.
|
||||
*/
|
||||
class SuspiciousOperationException extends \UnexpectedValueException implements RequestExceptionInterface
|
||||
{
|
||||
}
|
||||
11
modules/ps_metrics/vendor/symfony/http-foundation/Exception/index.php
vendored
Normal file
11
modules/ps_metrics/vendor/symfony/http-foundation/Exception/index.php
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
Reference in New Issue
Block a user