Page MenuHomePhabricator

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


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



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:11 AM
bzimport set Reference to bz65327.
bzimport added a subscriber: Unknown Object (MLST).

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Trello card

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.

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

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