Open Bug 1295088 Opened 4 years ago Updated 4 years ago

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


(Firefox :: Address Bar, defect, P3)




Tracking Status
firefox51 --- affected


(Reporter: Gijs, Unassigned)


(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:
Priority: -- → P3
Whiteboard: [fxsearch]
You need to log in before you can comment on or make changes to this bug.