Search Support

Beware of phishing attacks: Mozilla will never ask you to call a number or visit a non-Mozilla website. Please ignore such requests.

Learn More

FireFox doesnt support 127.1 and similar notation

  • 9 replies
  • 1 has this problem
  • 16 views
  • Last reply by cor-el

more options

Hi all,

I dont think if this is a bug or a "feature", but its annoying nonetheless.

Step to reproduce:

1. host a service with a protocol supported by firefox, eg. a http server, on localhost interface. 2. try to access the service, typing in "127.1" in the address bar. (2130706433 doesnt work either).

Expected result:

1. firefox accesses "http://127.1"

Actual result:

1. firefox searches for 127.1 on default search engine.

All Replies (9)

more options

As a note, Chromium/Chrome has the same behavior.

Helpful?

more options

Hello profile,

Would you do this please :

Type in the address bar   about:config   and press Enter.
(ignore the warning)

Type in the search bar and look for the preference :

keyword.enabled  and make sure its value is set to   false.

Do the same for these two preferences :

browser.fixup.alternate.enabled
and
browser.urlbar.suggest.searches

If you had to change anything, then close and restart Firefox.

Also   (just to make sure)   check your settings in the 3-bar menu :

Options Search Search Suggestions.

Helpful?

more options

The dot in the address input makes the browser think it is an address. Call a search engine manually. Then do your search.

https://www.bing.com/search?q=127.1

https://www.google.com/search?q=127.1

https://duckduckgo.com/?q=127.1

Helpful?

more options

What kind of address is http://127.1/ ?

I notice if I type

192.168

Firefox plans to send that to Google, but if I add a .1

192.168.1

then Firefox plans to visit http://192.168.0.1/

This is going to search:

100.00-99.00

while this is going to DNS:

100.0x-99.00

There seems to be some code for handling strings with only numeric digits that varies from other kinds of strings. I wonder whether this could be related to people wanting to use the "calculator" feature of Google search from the address bar?

Helpful?

more options

McCoy said

Hello profile,
Would you do this please :
Type in the address bar   about:config   and press Enter.
(ignore the warning)
Type in the search bar and look for the preference :
keyword.enabled  and make sure its value is set to   false.
Do the same for these two preferences :
browser.fixup.alternate.enabled
and
browser.urlbar.suggest.searches
If you had to change anything, then close and restart Firefox.
Also   (just to make sure)   check your settings in the 3-bar menu :
Options Search Search Suggestions.

Hi McCoy,

Thank you for your suggestions. However, changing these settings will "break" normal user behavior - like typing in keywords in the address bar for a duckduckgo search. But I agree that it will make Firefox connect to the example "127.1" instead of searching. The same applies to decimal notation, eg 2130706433.

I believe Firefox should conform to correct IP syntax, parsing valid ip adresses as such, and then connecting to the typed in address. IMO, it doesnt not make sense that it would search for eg. "127.1" instead of recognizing it as a valid IP address. (I tried finding a relevant RFC but couldnt?)

In my point of view, it looks like a logical parsing "bug" in the keyword search function?

Helpful?

more options

profile said

However, changing these settings will "break" normal user behavior - like typing in keywords in the address bar for a duckduckgo search.
But I agree that it will make Firefox connect to the example "127.1" instead of searching.
The same applies to decimal notation, eg 2130706433.

I assumed   (which I shouldn't have)   that you didn't want to use the address bar for   any   searches,   not just in this case   (my bad .... )

Helpful?

more options

McCoy said

profile said

However, changing these settings will "break" normal user behavior - like typing in keywords in the address bar for a duckduckgo search.
But I agree that it will make Firefox connect to the example "127.1" instead of searching.
The same applies to decimal notation, eg 2130706433.

I assumed   (which I shouldn't have)   that you didn't want to use the address bar for   any   searches,   not just in this case   (my bad .... )

Heh, well..it is in fact very helpful to be able to search for stuff - still being able to save precious keypresses :-)

Kindof on topic: I have been completely unable to find IETF/RFC material on shortening IPv4 addresses. It seems that it does not exist?

Helpful?

more options

profile said

I have been completely unable to find IETF/RFC material on shortening IPv4 addresses. It seems that it does not exist?

You just made me look for something I had never even heard of :   IETF/RFC.

Then I went to see if I could find that material on shortening IPv4 addresses   -   all I could find was from ages ago.

So sorry .....

- - - - - - - - - - - -

Now, if only this was about IPv4 instead of IPv6 :

https://www.watchguard.com/help/docs/help-center/en-US/Content/en-US/Fireware/overview/networksecurity/ip_addresses_about_c.html

- - - - - - - - - - - - -

Then I found this add-on :

https://addons.mozilla.org/en-US/firefox/addon/flagfox/

Is there a chance that it will do what you are looking for ,   or does it not even come close ?

Modified by McCoy

Helpful?

more options

Note that you can assign a keyword to a search engine (ddg) or type an '@' to initiate a search and select a search engine from the drop-down list (a keyword search engine that starts with a '@' is included).

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.