diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f5430169..d4e63b859 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ xx/xx/xxxx: Version 1.5.xx * Remove sfEAcceleratorCache as the extension is not available on PHP v7.4 anymore. * Remove sfAPCCache as it uses the `apc` extension, which is not available on PHP v7.4 anymore. **[BC-Break]** Use `sfAPCuCache` class instead, available from Symfony1 v1.5.16 +* Add support for HTTP Status Code 308 "Permanent Redirect" in `sfWebController::redirect()` method. 28/02/2024: Version 1.5.18 -------------------------- diff --git a/lib/response/sfWebResponse.class.php b/lib/response/sfWebResponse.class.php index 69eb05d11..d9bd5da5b 100644 --- a/lib/response/sfWebResponse.class.php +++ b/lib/response/sfWebResponse.class.php @@ -53,6 +53,7 @@ class sfWebResponse extends sfResponse '305' => 'Use Proxy', '306' => '(Unused)', '307' => 'Temporary Redirect', + '308' => 'Permanent Redirect', '400' => 'Bad Request', '401' => 'Unauthorized', '402' => 'Payment Required',