Core does not perform domain guessing before keyword search
Categories
(SeaMonkey :: Location Bar, defect)
Tracking
(Not tracked)
People
(Reporter: jgamleus, Unassigned)
References
()
Details
Attachments
(1 file)
4.02 KB,
patch
|
bzbarsky
:
review+
Gavin
:
review-
|
Details | Diff | Splinter Review |
![]() |
||
Updated•16 years ago
|
![]() |
||
Comment 1•16 years ago
|
||
Comment 2•16 years ago
|
||
Reporter | ||
Comment 3•16 years ago
|
||
Comment 4•16 years ago
|
||
Reporter | ||
Comment 5•16 years ago
|
||
Comment 6•16 years ago
|
||
Reporter | ||
Comment 7•16 years ago
|
||
Comment 8•16 years ago
|
||
Comment 9•16 years ago
|
||
Reporter | ||
Comment 10•16 years ago
|
||
Comment 11•16 years ago
|
||
Reporter | ||
Comment 12•16 years ago
|
||
Comment 13•15 years ago
|
||
![]() |
||
Comment 14•15 years ago
|
||
Updated•15 years ago
|
Comment 15•15 years ago
|
||
Comment 16•14 years ago
|
||
Comment 17•14 years ago
|
||
Comment 18•14 years ago
|
||
Comment 19•14 years ago
|
||
Comment 20•4 years ago
|
||
Hey Johannes,
Can you still reproduce this issue or should we close it?
Reporter | ||
Comment 21•4 years ago
|
||
I can still reproduce it: if you type "cnn" it does a keyword search, not a domain guessing, even if that is required by the preferences
Firefox shows the same behaviour.
Comment 22•3 years ago
|
||
In the process of migrating remaining bugs to the new severity system, the severity for this bug cannot be automatically determined. Please retriage this bug using the new severity system.
Comment 23•3 years ago
|
||
This is not a web-platform issue, this is more like the desired behaviour of the address bar. I am moving this to the right component.
Comment 24•2 years ago
|
||
Hi Johannes, you should able to get this behaviour by setting the following preferences manually in about:config
:
browser.fixup.alternate.enabled
:true
keyword.enabled
:false
If that doesn't work, please let us know.
Reporter | ||
Comment 25•2 years ago
|
||
Moved to Linux in the meantime.
With the above changes in config. 'cnn' directs correctly to www.cnn.com but the query 'cnn website' gives now an error message. So it is not a good solution. Anybody has a solution or is this quest already moved to another department?
Comment 26•2 years ago
|
||
The severity field is not set for this bug.
:adw, could you have a look please?
For more information, please visit BugBot documentation.
Comment 27•2 years ago
|
||
There's no plan to change the current behavior atm, and I think it's good enough to cover most use cases reported here:
- if
browser.urlbar.ctrlCanonizesURLs
is true, pressing CTRL+Enter after typingcnn
will go towww.cnn.com
- if
keyword.enabled
is false it will loadcnn
, fail but there should be a suggested link towww.cnn.com
on the error page - if you visit the site often enough, typing
cnn
should autofill tocnn.com
- otherwise
cnn
is searched, that will still be useful to some less technical users to reach their destination. Once the site is visited enough, or bookmarked, case 3 will serve directly the url.
Reporter | ||
Comment 28•2 years ago
|
||
if browser.urlbar.ctrlCanonizesURLs is true, pressing CTRL+Enter after typing cnn will not go to www.cnn.com, but still presents a search page with cnn.com as search result
for this I introduced browser.urlbar.ctrlCanonizesURLs as config-item, with value true.
this happened in seamonkey 2.53.17.1 and in Firefox 117.0.1, firefox already having such a config-item, pressing return and ctrl-return giving same wrong result.
Opera behaves alright according to marco's scheme: pressing enter produces the search page, pressing ctrl-enter goes directly to cnn.com.
But I don't want this difference between enter and ctrl-enter: a browser should do what its settings specify: my settings are Preferences <- Browser <- Location Bar <- Unknown Locations <- Add "www." and ".com"to the location if a web page is not found is checked, so it should browse to cnn.com, and it does not, which is still wrong behaviour.
Comment 29•2 years ago
|
||
(In reply to Johannes Leushuis from comment #28)
if browser.urlbar.ctrlCanonizesURLs is true, pressing CTRL+Enter after typing cnn will not go to www.cnn.com, but still presents a search page with cnn.com as search result
for this I introduced browser.urlbar.ctrlCanonizesURLs as config-item, with value true.this happened in seamonkey 2.53.17.1 and in Firefox 117.0.1, firefox already having such a config-item, pressing return and ctrl-return giving same wrong result.
I can't reproduce on Firefox 118 or current Nightly - ctrl-enter correctly opens cnn.com (which for me redirects to edition.cnn.com).
Can you clarify on what OS you tested Firefox, and if you can reproduce with 118 (released last week) on a clean profile?
Comment 30•2 years ago
|
||
(In reply to Johannes Leushuis from comment #28)
if browser.urlbar.ctrlCanonizesURLs is true, pressing CTRL+Enter after typing cnn will not go to www.cnn.com, but still presents a search page with cnn.com as search result
for this I introduced browser.urlbar.ctrlCanonizesURLs as config-item, with value true.
There should be no need to introduce the pref in Firefox as it's already there by default, you should just ensure it's set to true.
IF the problem is another product (e.g. Seamonkey) you should report the bug to them.
But I don't want this difference between enter and ctrl-enter: a browser should do what its settings specify: my settings are Preferences <- Browser <- Location Bar <- Unknown Locations <- Add "www." and ".com"to the location if a web page is not found is checked
We have no such preferences. That must be Seamonkey or something else.
Reporter | ||
Comment 31•2 years ago
•
|
||
The behaviour under Firefox with cnn in the address bar displays a search query, if cnn is deleted from the all autocomplete menu entries with shift-del. With cnn in the autocomplete menu, then autocomplete autocompletes it with ".com" so that an enter as well as shift-enter already direct the browser to www.cnn.com. A general Add "www." and ".com"to the location if a web page is not found -behaviour is not avaiiable in Firefox.
the preference Preferences <- Browser <- Location Bar <- Unknown Locations <- Add "www." and ".com"to the location if a web page is not found , is not present in Firefox, which explains the resulting search query behaviour in Firefox.
Somebody moved this bug from Seamonkey to FIrefox, see above.
Following James Teow's solution:
Hi Johannes, you should able to get this behaviour by setting the following preferences manually in about:config:
browser.fixup.alternate.enabled: true
keyword.enabled: false
If that doesn't work, please let us know.
keyword.enabled was true in my case, setting it to false gave the required behaviour, when Add "www." and ".com"to the location if a web page is not found, was checked!
"www." and ".com" were added, and the browser immediately went to www.cnn.com, regardless whether enter or ctrl-enter was pressed!
checking my preferences showed
Add "www." and ".com" to the location if a web page is not found was still checked
Perform a web search when entered text is not a web location was now unckecked, after setting the keyword.enabled config-item to false!
Apparently keyword.enabled is connected to Perform a web search when entered text is not a web location.
This behaviour is satisfying for me, although what I really want is that if the adding of "www." and ".com" does not result in a valid web site, a search query would then be carried out and displayed, hence the checking of the two preferences above. This was what this bug was all about, see my entry at the top of this bug.
Somebody can move this back to Seamonkey and implement this?
Updated•2 years ago
|
Description
•