Fix to remove prefixed "/" for parseUrl()