Closed Bug 383358 Opened 18 years ago Closed 18 years ago

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

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: siggi.gevatter, Unassigned)

References

Details

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.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.