vagrant/plugins
Sam Phippen 53714abfa3 Handle encoding errors in shell provisioner newline normalization.
The problem demonstrated in #6065 is that a string has incorrectly been
encoded with US-ASCII even though it contains invalid US-ASCII byte
sequences (any byte with the most significant bit on is invalid in the
US-ASCII encoding).

The thing about doing newline normalization is that it is not actually
sensitive to the presence of US-ASCII byte sequenzes. Additionally, it
is very unlikely that a user will ever be using an encoding where \r\n
is not encoded the same as it would be in ASCII.

This patch first tries the existing method of normalizing the newlines
in the provided script file, if that fails for any reason it force
encodes the string to ASCII-8BIT (which allows the most significant bit
to be on in any individual byte) and then performs the substitution in
that byte space.
2015-09-12 14:36:54 +01:00
..
commands Merge pull request #5887 from msabramo/config.ssh.ssh_command 2015-07-09 14:24:48 -06:00
communicators Raise Errno::ETIMEDOUT as "acceptable" Errors::ConnectionTimeout 2015-07-15 19:41:10 +02:00
guests Merge pull request #5931 from kaorimatz/fix/guests-fedra-nmcli 2015-07-13 08:31:01 -07:00
hosts hosts/linux: sudo to copy back to exports [GH-5957] 2015-07-15 11:04:05 -07:00
kernel_v1 Change symbols inside hashes to 1.9 JSON-like syntax 2014-05-22 12:35:12 -04:00
kernel_v2 Merge branch 'filter_synced_folders' of https://github.com/maxlinc/vagrant into maxlinc-filter_synced_folders 2015-07-09 15:05:52 -06:00
providers providers/docker: pull setting, default false [GH-5932] 2015-07-15 11:08:01 -07:00
provisioners Handle encoding errors in shell provisioner newline normalization. 2015-09-12 14:36:54 +01:00
pushes push/local-exec: close temp script, fix inline [GH-5695] 2015-07-06 23:42:07 -06:00
synced_folders update to latest listen 2015-07-09 11:18:36 -06:00
README.md Add README to plugin directory 2012-04-18 17:48:06 -07:00

README.md

Vagrant Core Plugins

These are plugins that ship with Vagrant. Vagrant core uses its own plugin system to power a lot of the core pieces that ship with Vagrant. Each plugin will have its own README which explains its specific role.