Emoji show two dots as a mask in password fields

NEW
Unassigned

Status

()

Core
Editor
P3
normal
6 months ago
4 months ago

People

(Reporter: jonnew, Unassigned)

Tracking

52 Branch
Points:
---

Firefox Tracking Flags

(firefox54 affected)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

6 months ago
Created attachment 8844591 [details]
password-poo.png

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3018.3 Safari/537.36

Steps to reproduce:

Paste "
(Reporter)

Comment 1

6 months ago
Ugh, the bugzilla form fields don't handle emoji!  Let's try again.

Steps to reproduce:
Copy a poo emoji from https://codepoints.net/U+1F4A9?lang=en into a password field.

Actual results:
I see two dots in the password field. See attachment.

Expected results:
I see only one dot in the password field.
Thanks for the report.

Relevant code is mozilla::TextEditRules::FillBufWithPWChars(nsAString_internal *, int32_t):
https://dxr.mozilla.org/mozilla-central/search?q=%2Bcallers%3A%22mozilla%3A%3ATextEditRules%3A%3AFillBufWithPWChars%28nsAString_internal+%2A%2C+int32_t%29%22

Testcase is in the URL field.

Confirmed on Nightly 54.
Status: UNCONFIRMED → NEW
status-firefox54: --- → affected
Component: Untriaged → Editor
Ever confirmed: true
Product: Firefox → Core
Summary: Emoji show two dots in password fields. → Emoji show two dots as a mask in password fields

Updated

6 months ago
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.