Fixed
Details
Details
Priority
Assignee
Alex
AlexReporter
Alex
AlexDeveloper
Alex
AlexReviewer
Erik S.
Erik S.Change Log Group
Changed
Change Log Message
Accessing page via "Short URL" now redirects to its "Canonical URL".
Time tracking
16m logged
Story Points
1
Fix versions
Patch Instructions
Patches must be submitted through Phabricator.
To submit patch via Command Line use Patches Workflow (via Arcanist) tutorial.
To submit patch via Web Interface use Patches Workflow (via Web Interface) tutorial.
Created January 9, 2017 at 3:40 PM
Updated December 29, 2024 at 8:51 PM
Resolved July 16, 2017 at 1:17 PM
Plan:
in the "CategoriesEventHandler::_parseFriendlyUrl" method, when url is considered as "Short URL" set a "is_friendly_url" parsed parameter to "$vars" variable
in the "kHTTPQuery::AfterInit" when it's mod-rewrite mode and "is_friendly_url" url parameter is set, then do 301 (default) self-redirect