Page MenuHomePhabricator

Non-canonical URLs get rewritten into weird psuedo-canonical URLs in alpha
Closed, ResolvedPublic

Description

In alpha, if I load the URL /index.php?title=Igloo, it gets rewritten as /index.php/Igloo?title=Igloo. You can cause this accidentally by switching to desktop mode and back.

I'm not sure if this is really a bug or a weird feature.


Version: unspecified
Severity: normal

Details

Reference
bz65327

Event Timeline

bzimport raised the priority of this task from to Needs Triage.
bzimport set Reference to bz65327.
bzimport added a subscriber: Unknown Object (MLST).
kaldari created this task.May 15 2014, 1:11 AM

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Trello card https://trello.com/c/Q97IeqrE

it's a feature but we should probably drop the title parameter.

Really we should be redirecting to the canonical URL but there seems to be a bug around that - bug 65402.

thoughts kaldari..?

Yes, let's just drop the title parameter if possible.

Change 137740 had a related patch set uploaded by Jdlrobson:
Alpha: Avoid multiple title parameters when rewriting url

https://gerrit.wikimedia.org/r/137740

Change 137740 merged by jenkins-bot:
Alpha: Avoid multiple title parameters when rewriting url

https://gerrit.wikimedia.org/r/137740