Page MenuHomePhabricator

Some "Global Accounts" links on Phabricator profiles are broken due to missing encoding
Closed, ResolvedPublic

Description

When you go to https://phabricator.wikimedia.org/p/daniel/, there's now a "Global Accounts" link. In this case, it's busted, going to https://meta.wikimedia.org/wiki/Special:CentralAuth/Daniel+Kinzler+%28WMDE%29. I'm not sure if this issue is specific to this account or a certain class of accounts.

Revisions and Commits

Event Timeline

It's an encoding thing of + vs. _. It's trying to do Special:CentralAuth/{username} when in fact the encoding appears to be going for the Special:CentralAuth?target={username} type URL instead

It's an encoding thing of + vs. _. It's trying to do Special:CentralAuth/{username} when in fact the encoding appears to be going for the Special:CentralAuth?target={username} type URL instead

That. Should be to &target=$username (urlencoded if possible).

MarcoAurelio added a revision: Restricted Differential Revision.Jul 22 2018, 10:03 AM
Aklapper renamed this task from Some "Global Accounts" links on Phabricator profiles are broken to Some "Global Accounts" links on Phabricator profiles are broken due to missing encoding.Jul 22 2018, 11:57 AM

Patch landed, but needs to be deployed.

Deployed and seems to be working as expected. Regards.

Deployed and seems to be working as expected. Regards.

Thank you!