Page MenuHomeIn-Portal Phabricator

INP-1466 - Don't use "m_Link" tag inside "m_Redirect" tag
ClosedPublic

Authored by alex on Aug 18 2015, 8:48 AM.

Details

Test Plan
NOTE: Test needs to be performed on advanced theme.
  1. place <inp2:m_Redirect template="platform/login/register" response_code="301"/> on top of platform/sitemap.tpl template
  2. doing HEAD request to the /platform/sitemap.html url with follow_location option disabled
  3. confirm, that instead of page content the 301 redirect request was received (usual redirect is with 302 code) to the /platform/login/register.html page

Diff Detail

Repository
rINP In-Portal
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

alex updated this revision to Diff 259.Aug 18 2015, 8:48 AM
alex retitled this revision from to INP-1466 - Don't use "m_Link" tag inside "m_Redirect" tag.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added 1 JIRA issue(s): INP-1466.
glebs accepted this revision.Sep 10 2015, 1:39 AM
glebs edited edge metadata.
This revision is now accepted and ready to land.Sep 10 2015, 1:39 AM
This revision was automatically updated to reflect the committed changes.
alex edited edge metadata.Mar 10 2016, 5:48 AM
alex added a project: Restricted Project.