palant / pfp

A simple and secure browser extension to be used with KeePass databases.
https://pfp.works/
Mozilla Public License 2.0
113 stars 14 forks source link

[2.0] Username is copied with spaces before and after #71

Closed ghost closed 6 years ago

ghost commented 6 years ago

I noticed that when I copy username from pfp popup it contains spaces before and after it: [space]username[space]. Pasting it into some login forms can cause breakages which can be non obvious to spot. Also copying it back to pfp can create mess. It doesn't happen when copying usernames from "All passwords" page.

Firefox 58 / Linux

ghost commented 6 years ago

It's not always reproducible. It happens mostly when your username is something like aaa@bbb.com and you have to do triple click to select it all.

palant commented 6 years ago

Yes, I've seen this as well. Removing spaces from the template is awkward but I guess that's what I need to do.