mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-11 07:42:58 +03:00
🐛 Bug Report: SMTP field type conversion error when starting with a number #338
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @simkli on GitHub.
Reproduction steps
When I set a SMTP username or password which starts with a number all letters are being removed.
Reproduction:
Expected behavior
Always save the fields as a string
Actual Behavior
If the field value starts with a number the value is converted to a number.
Version and Environment
v0.34.0
Log Output
No response
@simkli commented on GitHub:
Thank you so much ❤️
@stonith404 commented on GitHub:
Thanks this should be fixed in
v0.35.0.@simkli commented on GitHub:
Just checked the database. Seems to be correctly stored there. Maybe it's just an UI thing, but it prevents me to make changes without copying in the correct credentials again.