Fix URL parsing. Workspace names can contain dashes and dots.