Page MenuHomePhabricator

Apostrophe (single quote) in internal links is percent-escaped unnecessarily (and against the standards)
Open, LowPublic

Description

Author: scott

Description:
As an example, on Wikipedia, [[Earth's Rotation]] should render as:
<a href="/wiki/Earth's_rotation" title="Earth's rotation">Earth's rotation</a>

but instead incorrectly renders as:
<a href="/wiki/Earth%27s_rotation" title="Earth's rotation">Earth's rotation</a>

According to the relevant standards, an apostrophe (single quote) should no longer be percent-escaped.

Note that visiting either an escaped or unescaped URL serves up the correct page in both cases.

Also note that *external* links *are* handled correctly, for example rendering:
<a class="external free" href="http://en.wikipedia.org/wiki/Earth's_rotation">http://en.wikipedia.org/wiki/Earth's_rotation</a>


Version: 1.24rc
Severity: minor

Details

Reference
bz65678

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:17 AM
bzimport set Reference to bz65678.
bzimport added a subscriber: Unknown Object (MLST).