vmware / vic-ui

vSphere Integrated Containers Plug-In for vSphere Client provides information about your VIC setup and allows you to deploy VCHs directly from the vSphere Client.
Other
26 stars 25 forks source link

fix issue for window certificate has /r charactor in file #669

Closed zhoumeina closed 5 years ago

zhoumeina commented 5 years ago

Some of the windows user which use openssl generated certificate has different line ending with linux. For linux the line ending will use: /n For windows the line ending will use: /r/n. therefore, we need to also handle windows scenario to support filter out the beginning string and end string.