Bug 135386: Linking secrets with colon in the name - FIXED
This commit is contained in:
@@ -1018,7 +1018,7 @@ public class MiCasa : Store
|
||||
while (ienum.MoveNext())
|
||||
{
|
||||
LinkedKeyInfo lki = (LinkedKeyInfo) ienum.Value;
|
||||
tsLinkedKeys.AppendValues(lki.GetLinkedSecretID(), lki.GetLinkedKeyID());
|
||||
tsLinkedKeys.AppendValues(lki.GetLinkedSecretID(true), lki.GetLinkedKeyID());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1071,7 +1071,7 @@ public class MiCasa : Store
|
||||
//tsLinkedKeys.AppendValues(selectedSecret, selectedKey);
|
||||
|
||||
// add a null terminator to the secretid
|
||||
selectedSecret = selectedSecret + '\0';
|
||||
//selectedSecret = selectedSecret + '\0';
|
||||
|
||||
LinkedKeyInfo lki = new LinkedKeyInfo(selectedSecret, selectedKey);
|
||||
MiCasaRequestReply.Send(MiCasaRequestReply.VERB_SET_LINKED_KEY, null, labelLinkSecretID.Text, labelLinkKeyID.Text, lki);
|
||||
@@ -1093,7 +1093,7 @@ public class MiCasa : Store
|
||||
{
|
||||
selectedSecret = (string) model.GetValue(iter,0);
|
||||
// add NULL
|
||||
selectedSecret = selectedSecret + '\0';
|
||||
selectedSecret = selectedSecret;
|
||||
selectedKey = (string) model.GetValue(iter,1);
|
||||
|
||||
LinkedKeyInfo lki = new LinkedKeyInfo(selectedSecret, selectedKey);
|
||||
|
||||
Reference in New Issue
Block a user