mirror of
https://github.com/bitwarden/browser
synced 2026-01-23 12:53:44 +00:00
* Implement cleanupCipher method in BaseImporter with tests for notes and name handling - Added cleanupCipher method to preserve leading/trailing spaces in notes and set them to null if they contain only whitespace or are empty. - Updated the BaseImporter class to remove trimming of notes to maintain original formatting. - Added unit tests for cleanupCipher to verify behavior for various note and name scenarios. * Got rid of unneeded cipher spec test * Got rid of unneeded comment * Fix service and importers for tests to pass * Fix sdk.service.ts * Refactor URL normalization in ApiService to streamline request URL construction * Fixed PR comments * Add back comment --------- Co-authored-by: Mike Amirault <mamirault@bitwarden.com>