Do we also want to treat non-ascii URLs, like http://見.香港/, as valid?
https://github.com/discourse/discourse/pull/5451