problem in URL form when press ESC

Bug #278405 reported by Jangho Seo
6
Affects Status Importance Assigned to Milestone
Mozilla Firefox
Invalid
Medium
firefox-3.0 (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: firefox-3.0

[note: I can speak English not very well.]

I typed the URL form like that :
  URL : http://
After that, suggest URL box was showed.
But I don't want to look suggest URL box so I pressed ESC.
After that, suggest URL box was hidden.
But after that URL form was
   URL : http:///

Notice that an additional '/' was added to what I'd typed.
It's the problem.

ProblemType: Bug
Architecture: i386
Date: Sun Oct 5 11:22:12 2008
DistroRelease: Ubuntu 8.04
Package: firefox-3.0 3.0.3+build1+nobinonly-0ubuntu0.8.04.1
PackageArchitecture: i386
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=ko_KR.UTF-8
 SHELL=/bin/bash
SourcePackage: firefox-3.0
Uname: Linux 2.6.24-19-generic i686

WORKAROUND:
When the drop-down suggestions appear, ignore them and continue typing. I found this when I was not paying attention and did not notice the suggestions in time to stop.

Tags: apport-bug
Revision history for this message
Jangho Seo (jangho) wrote :
Revision history for this message
Brian Curtis (bcurtiswx) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. I am confirming this issue, as its still this way in Intrepid Ibex as wel

Changed in firefox-3.0:
status: New → Confirmed
Revision history for this message
Michael Rooney (mrooney) wrote :

Marking as Low. This isn't specific to this use case but seems to happen with any address starting with http:// (but not just www).

Changed in firefox-3.0:
importance: Undecided → Low
Revision history for this message
Jangho Seo (jangho) wrote : RE: [Bug 278405] Re: problem in URL form when press ESC

Thanks to reply.
I am very happy to help to make Ubuntu better.
-----Original Message-----
From: "Brian Curtis"&lt;<email address hidden>&gt;
To: <email address hidden>
Cc:
Sent: 08-10-09(목) 10:30:45
Subject: [Bug 278405] Re: problem in URL form when press ESC
Thank you for taking the time to report this bug and helping to make
Ubuntu better. I am confirming this issue, as its still this way in
Intrepid Ibex as wel
** Changed in: firefox-3.0 (Ubuntu)
Status: New => Confirmed
--
problem in URL form when press ESC
https://bugs.launchpad.net/bugs/278405
You received this bug notification because you are a direct subscriber
of the bug.
Status in “firefox-3.0” source package in Ubuntu: Confirmed
Bug description:
Binary package hint: firefox-3.0
[note: I can speak English not very well.]
I typed the URL form like that :
URL : http://
After that, suggest URL box was showed.
But I don't want to look suggest URL box so I pressed ESC.
After that, suggest URL box was hided.
But URL form was
URL : http:///
It's the problem.
ProblemType: Bug
Architecture: i386
Date: Sun Oct 5 11:22:12 2008
DistroRelease: Ubuntu 8.04
Package: firefox-3.0 3.0.3+build1+nobinonly-0ubuntu0.8.04.1
PackageArchitecture: i386
ProcEnviron:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
LANG=ko_KR.UTF-8
SHELL=/bin/bash
SourcePackage: firefox-3.0
Uname: Linux 2.6.24-19-generic i686

Revision history for this message
Jangho Seo (jangho) wrote :

Yes. It's true. I want the bug has been fixed soon. Thank you, bye!
-----Original Message-----
From: "Mike Rooney"&lt;<email address hidden>&gt;
To: <email address hidden>
Cc:
Sent: 08-10-09(목) 10:37:28
Subject: [Bug 278405] Re: problem in URL form when press ESC
Marking as Low. This isn't specific to this use case but seems to happen
with any address starting with http:// (but not just www).
** Changed in: firefox-3.0 (Ubuntu)
Importance: Undecided => Low
--
problem in URL form when press ESC
https://bugs.launchpad.net/bugs/278405
You received this bug notification because you are a direct subscriber
of the bug.
Status in “firefox-3.0” source package in Ubuntu: Confirmed
Bug description:
Binary package hint: firefox-3.0
[note: I can speak English not very well.]
I typed the URL form like that :
URL : http://
After that, suggest URL box was showed.
But I don't want to look suggest URL box so I pressed ESC.
After that, suggest URL box was hided.
But URL form was
URL : http:///
It's the problem.
ProblemType: Bug
Architecture: i386
Date: Sun Oct 5 11:22:12 2008
DistroRelease: Ubuntu 8.04
Package: firefox-3.0 3.0.3+build1+nobinonly-0ubuntu0.8.04.1
PackageArchitecture: i386
ProcEnviron:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
LANG=ko_KR.UTF-8
SHELL=/bin/bash
SourcePackage: firefox-3.0
Uname: Linux 2.6.24-19-generic i686

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Confirming this behavior in Jaunty development version of Xubuntu. If I continue typing, the suggestions will go away, but if I hit ESC after "http://" a third "/"is added and the resulting URL is wrong.

description: updated
Changed in firefox-3.0:
status: Confirmed → Triaged
Revision history for this message
In , Mozilla-rowk (mozilla-rowk) wrote :

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020911 Ubuntu/8.10 (intrepid) Firefox/3.0.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020911 Ubuntu/8.10 (intrepid) Firefox/3.0.6

With FF 3.0.6 in Ubuntu, if you type "http:", "http:/", or "http://" into the address bar, let the suggestions pop up, then hit escape, it turns into "http:///" in the address bar.

I cannot duplicate this on latest Firefox _2_ in Windows XP, FWIW.

Reproducible: Always

Steps to Reproduce:
1. Enter "http:", "http:/", or "http://" (without the quotes) in the address bar.
2. Wait for the suggestion bar to appear.
3. Hit escape
Actual Results:
The contents of the address bar become "http:///:

Expected Results:
The contents of the address bar remain unchanged.

Revision history for this message
In , Sylvain Pasche (sylvain-pasche) wrote :

I can reproduce on trunk. What happens is that when escape is pressed, the textValue property of the binding in urlbarBindings.xml is set with the value currently in the urlbar. The setter there tries to parse the URI using nsIOService::newURI. If it succeeds, the nsIURI.spec attribute is used to fill the urlbar. The cause of the issue is that this process can add trailing slashes:

for each (let u in ["foo", "ftp", "ftp:", "ftp://",
                    "http", "http:", "http:/", "http://", "http://foo",
                    "http://foo/", "http://foo/bar"]) {
    let spec = "<none>";
    try {
        spec = Cc["@mozilla.org/network/io-service;1"]
                 .getService(Ci.nsIIOService)
                 .newURI(u, null, null).spec;
    } catch(e) {}
    dump("Url: " + u + " -> " + spec + "\n");
}

Url: foo -> <none>
Url: ftp -> <none>
Url: ftp: -> ftp:///
Url: ftp:// -> ftp:///
Url: http -> <none>
Url: http: -> http:///
Url: http:/ -> http:///
Url: http:// -> http:///
Url: http://foo -> http://foo/
Url: http://foo/ -> http://foo/
Url: http://foo/bar -> http://foo/bar

description: updated
Changed in firefox:
status: Unknown → New
Revision history for this message
Michael Rooney (mrooney) wrote :

Filed upstream!

Revision history for this message
Ted (ted-l-wood) wrote :

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111318 Ubuntu/8.10 (intrepid) Firefox/3.0.4

Just an observation, if you press "esc" when that comes up, I get the extra "/" after "http://" and I found that if you select a URL from the list and press enter or you press tab to select it, it automatically applied the extra "/" after the .com, .edu, .gov, etc. It might be that it thinks esc is auto completing the url like tab or enter does and places the "/" after what it thinks is a url in the line.

Changed in firefox:
status: New → Confirmed
Revision history for this message
Tony812 (tony-stark-812) wrote : Re: [Bug 278405] Re: problem in URL form when press ESC

On Sat, Feb 28, 2009 at 5:06 PM, Bug Watch Updater <
<email address hidden>> wrote:

> ** Changed in: firefox
> Status: New => Confirmed
>
> --
> problem in URL form when press ESC
> https://bugs.launchpad.net/bugs/278405
> You received this bug notification because you are subscribed to Ubuntu.
>
> Status in The Mozilla Firefox Browser: Confirmed
> Status in “firefox-3.0” source package in Ubuntu: Triaged
>
> Bug description:
> Binary package hint: firefox-3.0
>
> [note: I can speak English not very well.]
>
> I typed the URL form like that :
> URL : http://
> After that, suggest URL box was showed.
> But I don't want to look suggest URL box so I pressed ESC.
> After that, suggest URL box was hidden.
> But after that URL form was
> URL : http:///
>
> Notice that an additional '/' was added to what I'd typed.
> It's the problem.
>
> ProblemType: Bug
> Architecture: i386
> Date: Sun Oct 5 11:22:12 2008
> DistroRelease: Ubuntu 8.04
> Package: firefox-3.0 3.0.3+build1+nobinonly-0ubuntu0.8.04.1
> PackageArchitecture: i386
> ProcEnviron:
>
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> LANG=ko_KR.UTF-8
> SHELL=/bin/bash
> SourcePackage: firefox-3.0
> Uname: Linux 2.6.24-19-generic i686
>
> WORKAROUND:
> When the drop-down suggestions appear, ignore them and continue typing. I
> found this when I was not paying attention and did not notice the
> suggestions in time to stop.
>
>

Changed in firefox:
importance: Unknown → Medium
Revision history for this message
In , Fmdevelopertim (fmdevelopertim) wrote :

*** Bug 513557 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Jesper Staun Hansen (jesper-staun-hansen-deactivatedaccount) wrote :

(In reply to Sylvain Pasche from comment #1)

Still possible to reproduce through example, but I cannot reproduce in the location bar. So I am not sure how this bug affects any users.

Revision history for this message
In , Jesper Staun Hansen (jesper-staun-hansen-deactivatedaccount) wrote :

Feel free to open a new bug Core :: Networking for comment #1

Revision history for this message
In , Crangasi2001 (crangasi2001) wrote :

(In reply to Jesper Hansen from comment #3)
> (In reply to Sylvain Pasche from comment #1)
>
> Still possible to reproduce through example, but I cannot reproduce in the
> location bar. So I am not sure how this bug affects any users.

Jesper, I can reproduce it in the location bar both as described here, and as described by me in 513557. This happens on FF8. You might want to reconsider fixing this bug (It seems to lack the right to do this).

Revision history for this message
In , Crangasi2001 (crangasi2001) wrote :

(In reply to Strainu from comment #5)
> (In reply to Jesper Hansen from comment #3)
> > (In reply to Sylvain Pasche from comment #1)
> >
> > Still possible to reproduce through example, but I cannot reproduce in the
> > location bar. So I am not sure how this bug affects any users.
>
> Jesper, I can reproduce it in the location bar both as described here, and
> as described by me in 513557. This happens on FF8. You might want to
> reconsider fixing this bug (It seems to lack the right to do this).

The same in FF9.0.1

Revision history for this message
In , Dao (dao) wrote :

Can you reproduce this in safe mode?

(In reply to Jesper Hansen from comment #4)
No patch landed here, so this is definitively not "FIXED".

Revision history for this message
In , Crangasi2001 (crangasi2001) wrote :

(In reply to Dão Gottwald [:dao] from comment #7)
> Can you reproduce this in safe mode?

Yes.

Revision history for this message
In , Jesper Staun Hansen (jesper-staun-hansen-deactivatedaccount) wrote :

(In reply to Dão Gottwald [:dao] from comment #7)
> (In reply to Jesper Hansen from comment #4)
> No patch landed here, so this is definitively not "FIXED".

Errors are made when one does not check if the right option was made.
Bug can indeed be reproduced in firefox 9, but not in trunk

Revision history for this message
In , Crangasi2001 (crangasi2001) wrote :

This means that it should work in Aurora, right?

Revision history for this message
In , Jesper Staun Hansen (jesper-staun-hansen-deactivatedaccount) wrote :

Not necessarily fixed in Aurora (ff11). But it might also already be fixed in beta (ff10).
We'll either see about ff10 on 31st January or if someone tests it before

Changed in firefox:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.