Pound signs cause truncation / unicode -1 chars
Bug #1819141 reported by
Adrian Wilkins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pasaffe |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
* Create a password that's 40 "normal" chars in gedit
e.g.
123456789012345
* Create a new entry with it
* Close the edit window
* Copy from the entry in the tree
* Paste under the first one in gedit
* Passwords match
* Replace first 4 chars with pound signs
* Close and copy and paste into gedit
* Password is truncated at 36 chars
Pound signs anywhere in the password have this effect. Takes effect at any length.
£1 == £
If number of pound signs exceeds number of other chars, you start to get this :
1£ = 1\Uffffffff
££1 == £\Uffffffff
£££1 == £££1
££££1 == ££\Uffffffff
Workaround : copy the password from the edit window
Related branches
summary: |
- Copying password from entry truncates at 36 chars + Pound signs cause truncation / unicode -1 chars |
To post a comment you must log in.
This is an encoding problem ; the clipboard receives double-byte UTF-8 chars for the pound sign but the buffer length copied is the number of single chars.
Linked branch patches this to calculate the buffer length correctly.