Closed Bug 313888 Opened 20 years ago Closed 19 years ago

Empty URL should not be auto-completed

Categories

(Firefox :: Address Bar, defect, P4)

defect

Tracking

()

VERIFIED FIXED
Firefox 2 alpha1

People

(Reporter: minghong, Assigned: Gavin)

References

()

Details

(Keywords: fixed1.8.1)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1 Currently the URL can be auto-completed even if nothing is entered, hence resulting in URLs like http://www..com, http://www..net, and http://www..org As empty URL is not visited (i.e. try pressing Enter in an empty location bar), empty URL should not be auto-completed as well. Reproducible: Always Steps to Reproduce: 1. Empty the location bar (e.g. by opening a new blank window/tab) 2. Press Ctrl + Enter, Shift + Enter or Ctrl + Shift + Enter Actual Results: Firefox auto-completes the empty URL and visit the non-existent URLs http://www..com, http://www..net, and http://www..org respectively. Expected Results: Stay on the current page.
Yeah, this is weird, but why should one do that?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051024 Firefox/1.5 See that here to. Clearly rather odd and I can't find a dupe. It's only minor, I agree, but I think this is a bug.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Version: unspecified → Trunk
(In reply to comment #1) > Yeah, this is weird, but why should one do that? > Because I accidentally pressed the keyboard shortcut for auto-complete before entering the domain name. :-P P.S. IE has the same behavior, but Firefox should be better, right?
Severity: enhancement → trivial
Attached patch patchSplinter Review
Assignee: nobody → gavin.sharp
Status: NEW → ASSIGNED
Attachment #201216 - Flags: review?(mconnor)
Priority: -- → P4
Target Milestone: --- → Firefox1.6-
Whiteboard: [patch-r?]
Comment on attachment 201216 [details] [diff] [review] patch This is silly, but might as well.
Attachment #201216 - Flags: review?(mconnor) → review+
mozilla/browser/base/content/browser.js; new revision: 1.543;
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Whiteboard: [patch-r?]
Comment on attachment 201216 [details] [diff] [review] patch trivial fix
Attachment #201216 - Flags: approval1.8.1?
Attachment #201216 - Flags: approval1.8.1? → branch-1.8.1+
Checked in on the 1.8 branch for Firefox 2. mozilla/browser/base/content/browser.js; new revision: 1.479.2.51;
Keywords: fixed1.8.1
Target Milestone: Firefox 2 → Firefox 2 alpha1
Verified FIXED using Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a9pre) Gecko/2007102704 Minefield/3.0a9pre and Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a9pre) Gecko/2007102721 Minefield/3.0a9pre
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: