Update of /cvsroot/sblim/wbemcli
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv7663
Modified Files:
ChangeLog CimXml.cpp NEWS
Log Message:
Fixed 0002721: wbemcli does not accept dot in userid:password
Index: NEWS
===================================================================
RCS file: /cvsroot/sblim/wbemcli/NEWS,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- NEWS 20 Sep 2013 23:26:33 -0000 1.48
+++ NEWS 4 Mar 2014 06:50:08 -0000 1.49
@@ -9,6 +9,7 @@
- 0002627 Add -w option to wbemcli
- 0002665 Add -e100 option to wbemcli
- 0002629 Do not attempt connect if missing cacert
+- 0002721 wbemcli does not accept dot in userid:password
Changes in Version 1.6.2
========================
Index: ChangeLog
===================================================================
RCS file: /cvsroot/sblim/wbemcli/ChangeLog,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- ChangeLog 20 Sep 2013 23:26:32 -0000 1.41
+++ ChangeLog 4 Mar 2014 06:50:08 -0000 1.42
@@ -1,3 +1,9 @@
+2014-03-04 Dave Heller <hel...@us...>
+
+ * CimXml.cpp, NEWS:
+
+ Fixed 0002721: wbemcli does not accept dot in userid:password
+
2013-09-20 Dave Heller <hel...@us...>
* CimCurl.cpp, NEWS:
Index: CimXml.cpp
===================================================================
RCS file: /cvsroot/sblim/wbemcli/CimXml.cpp,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -d -r1.75 -r1.76
--- CimXml.cpp 19 Sep 2013 14:34:26 -0000 1.75
+++ CimXml.cpp 4 Mar 2014 06:50:08 -0000 1.76
@@ -2986,9 +2986,9 @@
u += 7;
}
phelp=strchr(u,'@'); // potential auth token delimiter
- p=strchr(u,'.'); // potential key/host delimiter (doesn't matter)
+ p=NULL;
b=strchr(u,'['); // likely an IPv6 host
- if (phelp && ( p==NULL || p > phelp)) {
+ if (phelp) {
// contains auth token[s] -- process them
p=strchr(u,':');
if (b != NULL && p != NULL && (p < b)) {
|