In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
68 [In-Portal CMS] Front End bug report always 2009-06-12 11:10 2012-07-25 05:32
Dmitry  
alex  
normal  
closed 5.0.0  
fixed  
 
none 5.2.0-B1  
1
0000068: Preventing "Infinite" Redirects on Front-End
Currently there are 2 cases on Front End when "Infinite" redirects (named redirect loop in Firefox) can take place:

a. User has NO Permissions to see a page and was redirected to "no_permission" template. At the same time User has NO Permission to see contents of "no_permission" template, which leads to Infinite / Loop redirect.

b. User goes to the Page which dos NOT exist and was redirected to "error_notfound" template by the system. At the same time this template does NOT exist neither, which leads to Infinite / Loop redirect.
patch no_permission_redirect_loop_fix.patch (2,033) 2012-01-03 11:11
http://tracker.in-portal.org/file_download.php?file_id=1458&type=bug
Issue History
2012-07-25 05:32 alex Note Added: 0005004
2012-07-25 05:32 alex Status resolved => closed
2012-01-03 11:13 alex Note Added: 0004379
2012-01-03 11:13 alex Status reviewed and tested => resolved
2012-01-03 11:13 alex Fixed in Version => 5.2.0-B1
2012-01-03 11:13 alex Resolution open => fixed
2012-01-03 11:13 alex Assigned To !COMMUNITY => alex
2012-01-03 11:13 alex Changeset attached 5.2.x r14974
2012-01-03 11:13 alex Note Added: 0004378
2012-01-03 11:13 alex Status needs testing => reviewed and tested
2012-01-03 11:12 alex Note Added: 0004377
2012-01-03 11:12 alex Assigned To alex => !COMMUNITY
2012-01-03 11:12 alex Developer => alex
2012-01-03 11:12 alex Status needs work => needs testing
2012-01-03 11:12 alex Estimate Points => 1
2012-01-03 11:12 alex Status active => needs work
2012-01-03 11:12 alex Target Version Icebox => 5.2.0
2012-01-03 11:11 alex File Added: no_permission_redirect_loop_fix.patch
2009-10-03 07:54 administrator Status reviewed and tested => active
2009-08-09 03:27 alex Status needs work => reviewed and tested
2009-06-12 12:23 alex Note Added: 0000061
2009-06-12 12:23 alex Status needs feedback => needs work
2009-06-12 12:22 alex Summary Preventing "Indefinite" Redirects on Front-End => Preventing "Infinite" Redirects on Front-End
2009-06-12 12:22 alex Description Updated bug_revision_view_page.php?rev_id=45#r45
2009-06-12 11:13 Dmitry Note Added: 0000059
2009-06-12 11:13 Dmitry Assigned To => alex
2009-06-12 11:13 Dmitry Status active => needs feedback
2009-06-12 11:12 Dmitry Category (No Category) => Front End
2009-06-12 11:12 Dmitry Tag Attached: redirects
2009-06-12 11:10 Dmitry New Issue

Notes
(0000059)
Dmitry   
2009-06-12 11:13   
Any other cases you can foresee that I missed here?
(0000061)
alex   
2009-06-12 12:23   
Seems ok.
(0004377)
alex   
2012-01-03 11:12   
No need to process missing "error_notfound" template case, since we don't do redirect to that template, but rather show it's content under instead of a missing page without changing url in browser.
(0004378)
alex   
2012-01-03 11:13   
Will test all together later.
(0004379)
alex   
2012-01-03 11:13   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0000068: Preventing "Infinite" Redirects on Front-End
(0005004)
alex   
2012-07-25 05:32   
Since 5.2.0 version was released.