fixes #2568 - don't pass entire URL to Net::HTTP::Get