vmware/rvc — pull request #60 by codemonkeyjohn (2012-09-26 02:22:51+00:00)
Title: Fixing issue with URI parsing of passwords taken from the command line.

The command-line parsing of the uri doesn't allow certain characters (/, ?, @, #, <, or >) to be used:

# rvc root:tes/ting@vmhost
Failed to parse URI "root:tes/ting@vmhost": bad component(expected user component): test#ng

To get around this, I tried to URI-encode the offending character, but got an InvalidLogin message:

# rvc root:tes%2fting@vmhost
Failed to connect to vmhost: InvalidLogin: Cannot complete login due to an incorrect user name or password.

This commit decodes the password, so the second command would work.