Page MenuHomePhabricator

Shortening only a domain without a trailing slash fails
Closed, DuplicatePublic


Based on the demo at, trying to shorten just does not work - a trailing slash is required.

I'm not sure whether this is meant to be supported, but maybe the regex (?) needs a change?

Event Timeline

polybuildr raised the priority of this task from to Needs Triage.
polybuildr updated the task description. (Show Details)
polybuildr added a subscriber: polybuildr.
Legoktm added subscribers: ori, Mholloway, Luke081515 and 24 others.

This is because new mw.Uri(''); throws an exception: Error: Bad constructor arguments.

This actually works on, but an error is still generated and the URL is not normalized (see T220718).