Open
Bug 1856384
Opened 2 years ago
Updated 6 months ago
Long term solution for trimming the protocol without changing initial text directionality
Categories
(Firefox :: Address Bar, task, P3)
Firefox
Address Bar
Tracking
()
NEW
People
(Reporter: mak, Unassigned)
References
Details
When we trim the protocol and the first character after it is RTL, we're changing the initial directionality of the string from LTR to RTL. That may cause various unwanted text shifts, that may also led to spoofing attempts.
We tried replacing the protocol by inserting invisible LRM character instead of the protocol, but that causes too many edge cases when we handle the input field contents.
Ideally we'd like the input field itself to have a mode/attribute where we can force the directionality of the first character when we strip the protocol.
You need to log in
before you can comment on or make changes to this bug.
Description
•