BadRequestException.php
1 year ago
ControllerResolver.php
1 month ago
EgressBlockedException.php
5 days ago
EgressHostValidator.php
5 days ago
HttpCodeException.php
2 years ago
Router.php
1 year ago
EgressBlockedException.php
21 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Matomo - free/libre analytics platform |
| 5 | * |
| 6 | * @link https://matomo.org |
| 7 | * @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later |
| 8 | */ |
| 9 | declare (strict_types=1); |
| 10 | namespace Piwik\Http; |
| 11 | |
| 12 | use Exception; |
| 13 | /** |
| 14 | * Thrown when the SSRF-safe fetch path in {@see \Piwik\Http} refuses a request: a non-public target, |
| 15 | * or an unmet precondition (curl, an http(s) scheme, no forward proxy). Distinct from a transient |
| 16 | * network failure, so callers can surface it to the admin, who can act on it. |
| 17 | */ |
| 18 | class EgressBlockedException extends Exception |
| 19 | { |
| 20 | } |
| 21 |