parse remote url accepting minus