Fix parseUrl() ignoring language code in url