Issues with duplicating "http://" when copying from the location bar with trimURLs enabled (the default) and the http URL has its protocol displayed anyway to avoid it triggering searches

NEW
Unassigned

Status

()

defect
P3
normal
3 years ago
3 years ago

People

(Reporter: Gijs, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(firefox51 affected)

Details

(Whiteboard: [fxsearch])

Even when trimURLs is true, for some URLs we still display http://, for instance:

http://localhost/+Blob/something/foo bar + baz/

If you load this (doesn't matter if it's a 404) and then select from after "foo" to the beginning, we duplicate the "http://" protocol specifier. Reproducible on 49 beta as well as nightly.
(this was reported in bug 1108225 comment 4 to 6.)
In addition to my last comment in [bug 1108225 Comment 4], I found another example of this bug:

URL: http://localhost/+Usefull_PHP_Works/
When copying: http://http://localhost/+Usefull_PHP_Works/

Tested on firefox 47,78, FF nightly 50
also link two link of this error:
https://i.imgsafe.org/93ac02b747.png
https://i.imgsafe.org/93ac0aa5ed.png
Priority: -- → P3
Whiteboard: [fxsearch]
You need to log in before you can comment on or make changes to this bug.