In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
252 [In-Portal CMS] Front End feature request N/A 2009-09-01 06:39 2010-07-22 15:06
alex  
alex  
normal  
closed  
fixed  
 
none 5.1.0-B1  
0
0000252: Add ability to specify custom HTTP response code along with redirect header
Normally HTTP response code 302 (Found) is sent, when "kApplication::Redirect" method is called. However there are cases (like site migration to another software), when there is need to sent other header, like 301 (Moved Permanently).

I propose to add "response_code" parameter to url building process, to be processed by "kApplication::Redirect" method only.
This has been implemented in eGov project.

U core/kernel/application - revision 1.186.2.25.46.1
related to 0000548closed  (5.1.0)alex Automatic mod-rewrite redirecting 
patch responce_code_on_redirect.patch (793) 2009-12-19 06:34
http://tracker.in-portal.org/file_download.php?file_id=169&type=bug
patch typo_error_fix.patch (364) 2010-05-05 02:12
http://tracker.in-portal.org/file_download.php?file_id=519&type=bug
Issue History
2010-07-22 15:06 alex Note Added: 0002534
2010-07-22 15:06 alex Status resolved => closed
2010-05-05 02:13 alex Note Added: 0002058
2010-05-05 02:12 alex Changeset attached 5.1.x r13488
2010-05-05 02:12 alex File Added: typo_error_fix.patch
2010-04-24 15:17 alex Note Added: 0001910
2010-04-24 15:17 alex Status reviewed and tested => resolved
2010-04-24 15:17 alex Fixed in Version => 5.1.0-B1
2010-04-24 15:17 alex Resolution open => fixed
2010-04-24 15:17 alex Assigned To !COMMUNITY => alex
2010-04-24 15:17 alex Changeset attached 5.1.x r13391
2010-04-12 18:58 Dmitry Time Estimate Removed 1 =>
2010-04-12 18:58 Dmitry Note Added: 0001874
2010-04-12 18:58 Dmitry Status needs testing => reviewed and tested
2010-02-27 04:09 alex Developer => alex
2010-02-03 13:34 alex Relationship added related to 0000548
2010-01-12 11:21 alex Time Estimate Added 1
2009-12-19 06:34 alex Assigned To => !COMMUNITY
2009-12-19 06:34 alex Status active => needs testing
2009-12-19 06:34 alex File Added: responce_code_on_redirect.patch
2009-09-01 10:08 Dmitry Additional Information Updated bug_revision_view_page.php?rev_id=195#r195
2009-09-01 10:08 Dmitry Target Version => 5.1.0
2009-09-01 06:39 alex New Issue

Notes
(0001874)
Dmitry   
2010-04-12 18:58   
Tested okay
(0001910)
alex   
2010-04-24 15:17   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0000252: Add ability to specify custom HTTP response code along with redirect header
(0002058)
alex   
2010-05-05 02:13   
Patch "typo_error_fix.patch" (already commited) fixes type error in kApplication::Redirect method (for cases, when custom response code wasn't specified).
(0002534)
alex   
2010-07-22 15:06   
Closing, since 5.1.0 release has been released.