Skip to content

Commit 46b5da0

Browse files
wutsch0thePanz
authored andcommitted
Add HTTP status code 308 "Permanent Redirect"
1 parent 168da9b commit 46b5da0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ xx/xx/xxxx: Version 1.5.xx
1010
* Remove sfEAcceleratorCache as the extension is not available on PHP v7.4 anymore.
1111
* Remove sfAPCCache as it uses the `apc` extension, which is not available on PHP v7.4 anymore.
1212
**[BC-Break]** Use `sfAPCuCache` class instead, available from Symfony1 v1.5.16
13+
* Add support for HTTP Status Code 308 "Permanent Redirect" in `sfWebController::redirect()` method.
1314

1415
28/02/2024: Version 1.5.18
1516
--------------------------

lib/response/sfWebResponse.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class sfWebResponse extends sfResponse
5353
'305' => 'Use Proxy',
5454
'306' => '(Unused)',
5555
'307' => 'Temporary Redirect',
56+
'308' => 'Permanent Redirect',
5657
'400' => 'Bad Request',
5758
'401' => 'Unauthorized',
5859
'402' => 'Payment Required',

0 commit comments

Comments
 (0)