keepassium / KeePassium

KeePass-compatible password manager for iOS
https://keepassium.com
Other
1.21k stars 103 forks source link

In a generated password, an apostrophe can end up as a single quotation mark #286

Closed keepassium closed 5 months ago

keepassium commented 1 year ago

Description

Smart Punctuation, if enabled, erroneously applies to generated passwords. So if the password generator returns something like ('123 (with an apostrophe), it would end up in the entry's password field as (’123 (with a right single quotation mark). This likely applies to other smart punctuation rules as well.

How to reproduce Steps to reproduce the behavior:

  1. Device settings → General → Keyboard → Smart Quotation → make sure it is enabled
  2. Open an entry editor
  3. Tap password generator button in the Password field
  4. Generate a password with an apostrophe, tap Done
  5. Tap the eye button to make the password field visible
  6. Observe the apostrophe character has become a single quote mark.

Expected behavior Generated passwords should be saved as-is, without any transformations.

Environment:

[Thanks, Douglas]