Closed Bug 585971 Opened 12 years ago Closed 8 years ago

autocomplete matches unrelated hosts when searching for


(Firefox :: Address Bar, defect)

Not set





(Reporter: elmar.ludwig, Unassigned)



(Keywords: regression)

Mozilla/5.0 (X11; Linux i686; en-US; rv:2.0b2pre) Gecko/20100706 Minefield/4.0b2pre

Bug 461483 changed autocomplete behaviour so that a leading (typed) 'www.' is ignored when matching URLs in the location bar. This makes it very hard to actually match a URL starting with 'www.' when there are different hosts from the same domain in the autocomplete history. Even typing out the full host name will not restrict the results in any meaningful way.

Steps to reproduce:

1. start Firefox with a new profile
2. visit these URLs:
3. type 'www.moz' or ''

Actual result: The autocomplete dropdown is filled with all the entries from *, the actual host '' is somewhere around postion 10.

Expected result: Show only results for ''.
Duplicate of this bug: 583851
This is definitely the wrong behaviour.  Clearly I deliberately typed in "www." before some more text, and I don't expect my search tokens to be mangled before matches are arrived at.
Duplicate of this bug: 698443
Any developer comment on this? E.g. "yes, agreed, bug", "no - intended behaviour"?
(In reply to mozilla from comment #4)
> Any developer comment on this? E.g. "yes, agreed, bug", "no - intended behaviour"?

Intended behaviour, at least for now - especially with inline autocomplete, which is enabled by default. I stopped caring long ago and wrote my own extension to fix this.
yes, it's intended behavior, autocomplete always ignored www on purpose, the cases where this is an issue are very limited. Morever with inline completion in most cases you don't even need to search through the popup results, so the positioning there is not relevant.
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.