Fix CURL::GetWithoutFilename to not break the URL string when the domain
is supplied.
Merge pull request #4205 from groth-its/smb-domain-fix

FIX: Parsing of SMB URLs when a domain is supplied