firefox should remove newlines (\n) when pasting URLs to the adressbar

Bug #118850 reported by Alexander Menk on 2007-06-05
4
Affects Status Importance Assigned to Milestone
Mozilla Firefox
Invalid
Low
firefox (Ubuntu)
Wishlist
Mozilla Bugs

Bug Description

Binary package hint: firefox

when pasting urls like

"www.ubuntu.com?
www.google.de"

www.google.de is displayed in the address bar. on pressing enter it changes to www.ubuntu.com?www.google.de an opens the ubuntu webpage. that can be a bit wierd. The adressbar should filter out newlines directly (on paste) - not only after pressing enter.

Same applies to the input box for searchs.

ProblemType: Bug
Architecture: i386
Date: Tue Jun 5 22:31:19 2007
DistroRelease: Ubuntu 7.04
Package: firefox 2.0.0.4+1-0ubuntu1
PackageArchitecture: i386
SourcePackage: firefox
Uname: Linux self-laptop 2.6.20-16-generic #2 SMP Wed May 23 01:46:23 UTC 2007 i686 GNU/Linux

Alexander Menk (alex-menk) wrote :
Changed in firefox:
status: Unconfirmed → Confirmed

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty)

When pasting urls like

"www.ubuntu.com?
www.google.de"

www.google.de is displayed in the address bar. On pressing enter it changes to www.ubuntu.com?www.google.de an opens the Ubuntu webpage. that can be a bit wired. The addressbar should filter out newlines directly (on paste) - not only after pressing enter.

Same applies to the input box for searchs.

Reproducible: Always

Steps to Reproduce:
1.Copy this URL (both lines):

www.ubuntu.com?
www.google.de

2. Paste it on the addressbar. You will only see the last line.

3. Press enter.
Actual Results:
The URL will changed to "www.ubuntu.com?www.google.de" after pressing enter.

Expected Results:
It should do that before.

This bug has been reported by Alexander Menk on Launchpad: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/118850

This was fixed on trunk in or around December 2005. You can test it on the latest trunk nightly: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
Please reopen if you still can reproduce the problem.

Changed in firefox:
status: Unknown → Rejected
Changed in firefox:
assignee: nobody → mozilla-bugs
importance: Undecided → Wishlist
status: Confirmed → Needs Info
Siegfried Gevatter (rainct) wrote :

Upstream comment:

 | This was fixed on trunk in or around December 2005. You can test
 | it on the latest trunk nightly:
 | http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
 | Please reopen if you still can reproduce the problem.

Alexander Menk (alex-menk) wrote :

I now had a look at firefox 3.0a5pre:
filtering out \n in the adressbar ist fixedfine as said in upstream, but the input box for search (on the right side of the adressbar) behaves the old way.

On Fri, Jun 08, 2007 at 11:26:39AM -0000, Alexander Menk wrote:
> I now had a look at firefox 3.0a5pre:
> filtering out \n in the adressbar ist fixedfine as said in upstream, but the input box for search (on the right side of the adressbar) behaves the old way.
>

Do we know for sure that line feeds are always irrelevant for *all
possible* kind of searches? I guess no, but this probably needs some
thinking.

 - Alexander

John Vivirito (gnomefreak) wrote :

This doesnt seem to be an issue in firefox-3.0

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

Other bug subscribers

Remote bug watches

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