Fix problem where '0' was not recognized as valid url part