packer-cn/post-processor/vsphere
Ryan Breed 514b5f52f1 consistent escaping for ovftool uri creds
I got thrown for a loop since the username is uri-escaped but the password was not.

I got thrown for another couple of loops due to the multiple levels of interpretation involved:
1) JSON syntax requires backslashes to be slash-escaped. Some vCenter deployments use windows domain-style usernames DOMAIN\user
2) the OVFTOOL docs specify that "all special characters" be uri-encoded when part of the user name or password
3) different shell interpretations on windows/linux

I'd say escape both or neither.
2014-11-12 23:03:14 -06:00
..
post-processor.go consistent escaping for ovftool uri creds 2014-11-12 23:03:14 -06:00
post-processor_test.go post-processor/vsphere: cleanups 2013-11-18 16:04:38 -08:00