"1/2.3 B" in urlbar shouldn't suggest "Visit http://0.0.0.1/2.3 B"
Categories
(Firefox :: Address Bar, defect, P3)
Tracking
()
People
(Reporter: tustamido, Unassigned)
References
Details
Can "1/2.3 B" be a valid URL? I think that typing/pasting it in urlbar and pressing enter should load results in default search engine instead of trying to load http://0.0.0.1/2.3 B as Firefox currently does.
Comment 1•5 years ago
|
||
This happens because URI fixup turns it into "http://0.0.0.1/2.3%20B" here: https://searchfox.org/mozilla-central/rev/e878e5b81bb319c141900ce9cfcde732df5c8449/toolkit/components/places/UnifiedComplete.jsm#2013 keywordAsSent
is empty.
If you remove the "B" and type "1/2.3", fixup turns it into "http://0.0.0.1/2.3", but keywordAsSent
is "1/2.3", so _matchUnknownUrl
returns false.
I'm not sure what we can do about this other than taking a closer look at how fixup works.
Updated•5 years ago
|
Comment 3•5 years ago
|
||
This isn't related to alternate URIs (which are where we add www
and .com
to single words in some circumstances).
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Description
•