Closed Bug 973383 Opened 10 years ago Closed 10 years ago

Single word in location bar not redirected to keyword.URL

Categories

(Firefox :: Address Bar, defect)

27 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jn, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20140207 Firefox/24.0 Iceweasel/24.3.0 (Nightly/Aurora)
Build ID: 20140209162632

Steps to reproduce:

This issue seems to come up more often in forums in recent months:
Entering a single word in the location bar does not lead to the word being searched in the engine specified in keyword.URL.

To reproduce, type "jklsdf" in the location bar.



Actual results:

FF now places the string "http://jklsdf/" in the location bar, which results in an empty page (source of page is also empty).


This happens on Linux as well as Windows and does not depend on DNS, as this happens at computers at my workplace as well as with different machines at home.


Expected results:

The string entered should instead have been searched via the engine provided in keyword.URL.

I think there's some underlying design decision that has to be fixed, as alterate browsers like Chromium and Opera do not have this problem. 

How can I help diagnosing this further?
Works for me on yesterday's Nightly. (I'll wait for some others to look at it before marking as WFM).

Maybe we should write a mochitest for this behavior.
Cannot reproduce on Mac Nightly 2014-02-15.
Reporter: which version of Firefox are you using? Your UA string suggests you're using Iceweasel 24 Nightly, which is a long way behind current Release 27, let alone Nightly 30. It's possible you're seeing an old and fixed regression.
Flags: needinfo?(jn)
Norepro on FF 23 on Ubuntu. (Yes, I need to update it. Someday.)
Updated to Iceweasel 27.0 from mozilla.debian.net, issue remains.
Created a new profile just to be sure, no luck.
Will test again tomorrow at work using Win 7 / FF 27.

I'm sure this worked before, so it might well be a regression.
Any other suggestions or data needed to further diagnose this?
Flags: needinfo?(jn)
The data from about:support would probably be useful.
Component: Untriaged → Location Bar
Version: 24 Branch → 27 Branch
Data from about:support

Allgemeine Informationen
------------------------

Name: Iceweasel
Version: 27.0
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:27.0) Gecko/20100101 Firefox/27.0 Iceweasel/27.0

Erweiterungen
-------------

Name: Adblock Plus
Version: 2.0.3
Aktiviert: true
ID: {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}

Name: Dictionnaire français «Réforme 1990»
Version: 4.3
Aktiviert: true
ID: fr-reforme1990@dictionaries.addons.mozilla.org

Name: Element Hiding Helper für Adblock Plus
Version: 1.1.4
Aktiviert: true
ID: elemhidehelper@adblockplus.org

Name: Firebug
Version: 1.11.2
Aktiviert: true
ID: firebug@software.joehewitt.com

Name: Greasemonkey
Version: 0.9.22
Aktiviert: true
ID: {e4a8a97b-f2ed-450b-b12d-ee082ba24781}

Name: Pocket
Version: 3.0.4
Aktiviert: true
ID: isreaditlater@ideashower.com

Name: Stylish
Version: 1.3.1
Aktiviert: true
ID: {46551EC9-40F0-4e47-8E18-8E5CF550CFB8}

Name: Text Link
Version: 4.1.2013040601
Aktiviert: true
ID: {54BB9F3F-07E5-486c-9B39-C7398B99391C}

Name: Geocaching.com GPX Downloader
Version: 1.130211
Aktiviert: false
ID: gpxdown@geocaching.com

Name: User Agent Switcher
Version: 0.7.3
Aktiviert: false
ID: {e968fc70-8f95-4ab9-9e79-304de2a71ee1}

Wichtige modifizierte Einstellungen
-----------------------------------

accessibility.typeaheadfind: true
accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 358400
browser.cache.disk.parent_directory: /dev/shm/firefox-cache
browser.cache.disk.smart_size_cached_value: 256000
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.history_expire_days.mirror: 180
browser.places.importBookmarksHTML: false
browser.places.smartBookmarksVersion: 4
browser.search.update: false
browser.sessionstore.restore_on_demand: false
browser.sessionstore.upgradeBackup.latestBuildID: 20140208030146
browser.startup.homepage_override.buildID: 20140208030146
browser.startup.homepage_override.mstone: 27.0
browser.tabs.autoHide: true
browser.tabs.warnOnClose: false
browser.urlbar.trimURLs: false
dom.mozApps.used: true
extensions.lastAppVersion: 27.0
general.useragent.locale: de-DE
network.cookie.prefsMigrated: true
network.dns.disableIPv6: true
network.dns.ignoreHostonly: true
places.database.lastMaintenance: 1392572351
places.history.expiration.transient_current_max_pages: 103398
plugin.disable_full_page_plugin_for_types: application/pdf
plugin.importedState: true
plugin.soname.list: libXt.so:libXext.so
print.print_bgcolor: false
print.print_bgimages: false
print.print_colorspace: default
print.print_downloadfonts: false
print.print_evenpages: true
print.print_in_color: true
print.print_margin_bottom: 0.500000012107193
print.print_margin_left: 0.500000012107193
print.print_margin_right: 0.500000012107193
print.print_margin_top: 0.500000012107193
print.print_oddpages: true
print.print_orientation: 0
print.print_pagedelay: 500
print.print_paper_data: 0
print.print_paper_height: 279,40
print.print_paper_name: na_letter
print.print_paper_size_type: 1
print.print_paper_size_unit: 1
print.print_paper_width: 215,90
print.print_plex_name: default
print.print_printer:
print.print_resolution_name: default
print.print_scaling: 1,00
print.print_shrink_to_fit: true
print.print_to_file: false
print.print_unwriteable_margin_bottom: 56
print.print_unwriteable_margin_left: 25
print.print_unwriteable_margin_right: 25
print.print_unwriteable_margin_top: 25
print.tmp.printerfeatures.PostScript/default.can_change_colorspace: false
print.tmp.printerfeatures.PostScript/default.can_change_downloadfonts: false
print.tmp.printerfeatures.PostScript/default.can_change_jobtitle: false
print.tmp.printerfeatures.PostScript/default.can_change_num_copies: true
print.tmp.printerfeatures.PostScript/default.can_change_orientation: true
print.tmp.printerfeatures.PostScript/default.can_change_paper_size: true
print.tmp.printerfeatures.PostScript/default.can_change_plex: false
print.tmp.printerfeatures.PostScript/default.can_change_printincolor: true
print.tmp.printerfeatures.PostScript/default.can_change_resolution: false
print.tmp.printerfeatures.PostScript/default.can_change_spoolercommand: true
print.tmp.printerfeatures.PostScript/default.colorspace.0.name: default
print.tmp.printerfeatures.PostScript/default.colorspace.count: 1
print.tmp.printerfeatures.PostScript/default.has_special_printerfeatures: true
print.tmp.printerfeatures.PostScript/default.orientation.0.name: portrait
print.tmp.printerfeatures.PostScript/default.orientation.1.name: landscape
print.tmp.printerfeatures.PostScript/default.orientation.count: 2
print.tmp.printerfeatures.PostScript/default.paper.0.height_mm: 210
print.tmp.printerfeatures.PostScript/default.paper.0.is_inch: false
print.tmp.printerfeatures.PostScript/default.paper.0.name: A5
print.tmp.printerfeatures.PostScript/default.paper.0.width_mm: 148
print.tmp.printerfeatures.PostScript/default.paper.1.height_mm: 297
print.tmp.printerfeatures.PostScript/default.paper.1.is_inch: false
print.tmp.printerfeatures.PostScript/default.paper.1.name: A4
print.tmp.printerfeatures.PostScript/default.paper.1.width_mm: 210
print.tmp.printerfeatures.PostScript/default.paper.2.height_mm: 420
print.tmp.printerfeatures.PostScript/default.paper.2.is_inch: false
print.tmp.printerfeatures.PostScript/default.paper.2.name: A3
print.tmp.printerfeatures.PostScript/default.paper.2.width_mm: 297
print.tmp.printerfeatures.PostScript/default.paper.3.height_mm: 279
print.tmp.printerfeatures.PostScript/default.paper.3.is_inch: true
print.tmp.printerfeatures.PostScript/default.paper.3.name: Letter
print.tmp.printerfeatures.PostScript/default.paper.3.width_mm: 215
print.tmp.printerfeatures.PostScript/default.paper.4.height_mm: 355
print.tmp.printerfeatures.PostScript/default.paper.4.is_inch: true
print.tmp.printerfeatures.PostScript/default.paper.4.name: Legal
print.tmp.printerfeatures.PostScript/default.paper.4.width_mm: 215
print.tmp.printerfeatures.PostScript/default.paper.5.height_mm: 431
print.tmp.printerfeatures.PostScript/default.paper.5.is_inch: true
print.tmp.printerfeatures.PostScript/default.paper.5.name: Tabloid
print.tmp.printerfeatures.PostScript/default.paper.5.width_mm: 279
print.tmp.printerfeatures.PostScript/default.paper.6.height_mm: 254
print.tmp.printerfeatures.PostScript/default.paper.6.is_inch: true
print.tmp.printerfeatures.PostScript/default.paper.6.name: Executive
print.tmp.printerfeatures.PostScript/default.paper.6.width_mm: 190
print.tmp.printerfeatures.PostScript/default.paper.count: 7
print.tmp.printerfeatures.PostScript/default.plex.0.name: default
print.tmp.printerfeatures.PostScript/default.plex.count: 1
print.tmp.printerfeatures.PostScript/default.resolution.0.name: default
print.tmp.printerfeatures.PostScript/default.resolution.count: 1
print.tmp.printerfeatures.PostScript/default.supports_colorspace_change: false
print.tmp.printerfeatures.PostScript/default.supports_downloadfonts_change: false
print.tmp.printerfeatures.PostScript/default.supports_jobtitle_change: false
print.tmp.printerfeatures.PostScript/default.supports_orientation_change: true
print.tmp.printerfeatures.PostScript/default.supports_paper_size_change: true
print.tmp.printerfeatures.PostScript/default.supports_plex_change: false
print.tmp.printerfeatures.PostScript/default.supports_printincolor_change: true
print.tmp.printerfeatures.PostScript/default.supports_resolution_change: false
print.tmp.printerfeatures.PostScript/default.supports_spoolercommand_change: true
privacy.cpd.offlineApps: true
privacy.cpd.siteSettings: true
privacy.donottrackheader.enabled: true
privacy.popups.showBrowserMessage: false
privacy.sanitize.migrateFx3Prefs: true
privacy.sanitize.timeSpan: 4
security.disable_button.openCertManager: false
security.warn_viewing_mixed: false
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1390254064

Grafik
------

Geräte-ID: Mesa DRI Mobile Intel® GM45 Express Chipset x86/MMX/SSE2
GPU-beschleunigte Fenster: 0/1 Basic
Karten-Beschreibung: Tungsten Graphics, Inc -- Mesa DRI Mobile Intel® GM45 Express Chipset x86/MMX/SSE2
Treiber-Version: 2.1 Mesa 8.0.5
Vendor-ID: Tungsten Graphics, Inc
WebGL-Renderer: Tungsten Graphics, Inc -- Mesa DRI Mobile Intel® GM45 Express Chipset x86/MMX/SSE2
windowLayerManagerRemote: false
AzureCanvasBackend: cairo
AzureContentBackend: cairo
AzureFallbackCanvasBackend: none
AzureSkiaAccelerated: 0

JavaScript
----------

Inkrementelle GC: true

Barrierefreiheit
----------------

Aktiviert: true
Barrierefreiheit verhindern: 0

Bibliotheken-Versionen
----------------------

NSPR
Minimal vorausgesetzte Version: 4.10.2
Verwendete Version: 4.10.2

NSS
Minimal vorausgesetzte Version: 3.15.4 Basic ECC
Verwendete Version: 3.15.4 Basic ECC

NSSSMIME
Minimal vorausgesetzte Version: 3.15.4 Basic ECC
Verwendete Version: 3.15.4 Basic ECC

NSSSSL
Minimal vorausgesetzte Version: 3.15.4 Basic ECC
Verwendete Version: 3.15.4 Basic ECC

NSSUTIL
Minimal vorausgesetzte Version: 3.15.4
Verwendete Version: 3.15.4
Component: Location Bar → Untriaged
Version: 27 Branch → 24 Branch
Additional information, since in case that matters: I don't use a proxy
Component: Untriaged → Location Bar
Version: 24 Branch → 27 Branch
Could this be linked to the network.dns.ignoreHostonly pref?

Also, is this a duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=680869
Keyword.URL was removed in Firefox 23.  The correct behaviour is to search using the currently selected engine if DNS doesn't return.  There's bug 680869 as well, but wouldn't be an issue on Linux AIUI.
Bug no longer present in 30.0, closing.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
Ugh. This might not be a "bug" technically speaking, but if you configured the url search bar to make the DNS request ONLY if a dot is present, you'd save millions of man-hours annually. Most people simply don't notice.
(In reply to isthistakenaswell from comment #12)
> Ugh. This might not be a "bug" technically speaking, but if you configured
> the url search bar to make the DNS request ONLY if a dot is present, you'd
> save millions of man-hours annually. Most people simply don't notice.

Technically, http://word/ *can* be a valid URL. New TLDs are easily bought these days (at a high price though), and the owner is free to use the plain http://tld/ if they want.
How much traffic do these URLs account for? 10^-6 total? 10^-9 total? Probably much less. Just make those who don't use .tld URLs bother typing http://. It's something that simply reduces functionality without a real reason.
There's a _lot_ of intranet-type usage (domain suffix).  The problem is not doing the lookup, it's serializing it.  I think bug 972452 comment 3 is the right answer.  This bug is not that bug.
You need to log in before you can comment on or make changes to this bug.