1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

[bug] Fix Safari CSV importer for URL and Notes (#730)

This commit is contained in:
David Frankel
2022-03-24 15:33:28 -06:00
committed by GitHub
parent 292d5e0039
commit 7fc0ab97f3
4 changed files with 81 additions and 1 deletions

View File

@@ -17,8 +17,9 @@ export class SafariCsvImporter extends BaseImporter implements Importer {
cipher.name = this.getValueOrDefault(value.Title, "--");
cipher.login.username = this.getValueOrDefault(value.Username);
cipher.login.password = this.getValueOrDefault(value.Password);
cipher.login.uris = this.makeUriArray(value.Url);
cipher.login.uris = this.makeUriArray(value.Url ?? value.URL);
cipher.login.totp = this.getValueOrDefault(value.OTPAuth);
cipher.notes = this.getValueOrDefault(value.Notes);
this.cleanupCipher(cipher);
result.ciphers.push(cipher);
});