Redirect to Canonical URL, when page is accessed via Short URL

Components

Labels

Description

Plan:

  1. in the "CategoriesEventHandler::_parseFriendlyUrl" method, when url is considered as "Short URL" set a "is_friendly_url" parsed parameter to "$vars" variable

  2. in the "kHTTPQuery::AfterInit" when it's mod-rewrite mode and "is_friendly_url" url parameter is set, then do 301 (default) self-redirect

Context Information

None

Additional information (do not use)

None

Activity

Alex July 16, 2017 at 1:26 PM

ci added a comment to rINP16560: Fixes https://in-portal.atlassian.net/browse/INP-1664#icft=INP-1664 - Redirect to Canonical URL, when page is accessed via Short URL.

Build *#125* finished with *UNSTABLE* status: http://ci.in-portal.org/job/in-portal-52x/125/

Alex July 16, 2017 at 1:17 PM

alex updated rINP16560: Fixes https://in-portal.atlassian.net/browse/INP-1664#icft=INP-1664 - Redirect to Canonical URL, when page is accessed via Short URL.

Alex July 16, 2017 at 1:17 PM

alex committed rINP16560: Fixes https://in-portal.atlassian.net/browse/INP-1664#icft=INP-1664 - Redirect to Canonical URL, when page is accessed via Short URL.

Fixes https://in-portal.atlassian.net/browse/INP-1664#icft=INP-1664 - Redirect to Canonical URL, when page is accessed via Short URL

Differential Revision: http://qa.in-portal.org/D281

Alex July 16, 2017 at 1:17 PM

alex closed D281: https://in-portal.atlassian.net/browse/INP-1664#icft=INP-1664 - Redirect to Canonical URL, when page is accessed via Short URL by committing rINP16560: Fixes https://in-portal.atlassian.net/browse/INP-1664#icft=INP-1664 - Redirect to Canonical URL, when page is accessed via Short URL.
alex updated the diff for D281: https://in-portal.atlassian.net/browse/INP-1664#icft=INP-1664 - Redirect to Canonical URL, when page is accessed via Short URL.

[API] Administrator July 16, 2017 at 1:17 PM

User committed a fix to 5.2.x. Commit Message:

Fixes https://in-portal.atlassian.net/browse/INP-1664#icft=INP-1664 - Redirect to Canonical URL, when page is accessed via Short URL

Differential Revision: http://qa.in-portal.org/D281

Fixed

Details

Priority

Assignee

Reporter

Developer

Reviewer

Change Log Group

Changed

Change Log Message

Patch Instructions

Patches must be submitted through Phabricator.

Time tracking

16m logged

Story Points

Fix versions

Created January 9, 2017 at 3:40 PM
Updated December 29, 2024 at 8:51 PM
Resolved July 16, 2017 at 1:17 PM

Flag notifications