lib/vagrant/util/downloader.rb in vagrant-unbundled-2.2.19.0 vs lib/vagrant/util/downloader.rb in vagrant-unbundled-2.3.2.0

- old
+ new

@@ -19,10 +19,10 @@ class Downloader # Custom user agent provided to cURL so that requests to URL shorteners # are properly tracked. # # Vagrant/1.7.4 (+https://www.vagrantup.com; ruby2.1.0) - USER_AGENT = "Vagrant/#{VERSION} (+https://www.vagrantup.com; #{RUBY_ENGINE}#{RUBY_VERSION}) #{ENV['VAGRANT_USER_AGENT_PROVISIONAL_STRING']}".freeze + USER_AGENT = "Vagrant/#{VERSION} (+https://www.vagrantup.com; #{RUBY_ENGINE}#{RUBY_VERSION}) #{ENV['VAGRANT_USER_AGENT_PROVISIONAL_STRING']}".strip.freeze # Hosts that do not require notification on redirect SILENCED_HOSTS = [ "vagrantcloud.com".freeze, "vagrantup.com".freeze