Fixed crdential roaming file path generation

This commit is contained in:
Michael Grafnetter 2022-12-05 21:19:48 +01:00
parent b2ed71eb5c
commit 333b6c0d52
1 changed files with 3 additions and 2 deletions

View File

@ -190,8 +190,9 @@
break;
}
// The identifier of the blob is also its file name
sb.Append(this.Id);
// The identifier of the blob is also its file name. Any invalid characters must be remved first.
string fileName = string.Concat(this.Id.Split(Path.GetInvalidFileNameChars()));
sb.Append(fileName);
return sb.ToString();
}