Page MenuHomePhabricator

Double URL encoding and hence broken links on Special:CentralAuth
Closed, DuplicatePublic

Description

Step to reproduce:

  1. Go to https://meta.wikimedia.org/wiki/Special:CentralAuth/%C5%9Awi%C4%99tokrzyskie3?uselang=en
  2. Click "2 pages" link in "pl.wikinews.org" section.
  3. This link take you to https://pl.wikinews.org/wiki/Special:BlockList/%25C5%259Awi%25C4%2599tokrzyskie3 and get Bad title error.

Event Timeline

Aklapper renamed this task from Bad title error for pages link in Special:CentralAuth for partial block to Double-encoding and hence broken links on Special:CentralAuth.May 6 2020, 11:18 AM

Hi @Xiplus, thanks for taking the time to report this!

Link is: https://pl.wikinews.org/wiki/Special:BlockList/%25C5%259Awi%25C4%2599tokrzyskie3
Should be: https://pl.wikinews.org/wiki/Special:BlockList/%C5%9Awi%C4%99tokrzyskie3

Looks like double encoding.

Wondering if this is the same underlying issue as T251962

Line is probably in ./includes/specials/SpecialCentralAuth.php:

self::foreignLink(
	$row['wiki'],
	'Special:BlockList/' . urlencode( $row['name'] ),
	$this->msg( 'centralauth-block-editing-' . $type, $value )->text()
)
Aklapper renamed this task from Double-encoding and hence broken links on Special:CentralAuth to Double URL encoding and hence broken links on Special:CentralAuth.May 6 2020, 11:22 AM