Page MenuHomePhabricator

mw.uri.anchorEncode returns false on empty string
Closed, ResolvedPublic

Description

mw.uri.anchorEncode( "" ) returns boolean false.

This should presumably return "".


Version: unspecified
Severity: normal

Details

Reference
bz46608

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:22 AM
bzimport added a project: Scribunto.
bzimport set Reference to bz46608.

Seems to actually be a bug in core ;)

Gerrit change 56178 fixes it

Related URL: https://gerrit.wikimedia.org/r/63366 (Gerrit Change I97556dbc4dcc1f102f6fed499d43dada388cdc5d)