3ef5e21 esx: do not store escaped password in esxVI_Context.

2 files Authored by Dawid Zamirski 8 years ago, Committed by mprivozn 8 years ago,
    esx: do not store escaped password in esxVI_Context.
    
    This patch fixes an issue where screenshot API call was failing when
    the esx/vcenter password contains special characters such as
    apostrophee. The reason for failures was that passwords were escaped
    for XML and stored in esxVI_Context which was then passed to raw CURL
    API calls where the password must be passed in original form to
    authenticate successfully. So this patch addresses this by storing
    original passwords in the esxVI_Context struct and escape only for
    esxVI_Login call.
    
        
file modified
+4 -18
file modified
+45 -16