Closed Bug 264726 Opened 20 years ago Closed 20 years ago

Strip whitespace, including newlines from text pasted into Location bar

Categories

(SeaMonkey :: Location Bar, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 23485

People

(Reporter: zorin, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; rv:1.7.3) Gecko/20040913 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; rv:1.7.3) Gecko/20040913 Firefox/0.10.1

I just thought it would be a great idea for Mozilla to strip any whitespace,
including spaces or newlines, from text pasted into the location bar. 

The primary reason for this enhancement is that you might be copying and pasting
a URL from a text document or other window that splits it across several lines,
which causes you to have to paste it in several pieces.

Reproducible: Always
Steps to Reproduce:
You already can do it, by changing a preference.
use about:config to set following pref:
editor.singleLine.pasteNewlines integer 3

see https://bugzilla.mozilla.org/show_bug.cgi?id=50935#c5
Whiteboard: DUPEME
Bug 23485 	browser window should strip newlines from url pastes

*** This bug has been marked as a duplicate of 23485 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
V/dupe.
Status: RESOLVED → VERIFIED
Component: General → Location Bar
Product: Mozilla Application Suite → Core
QA Contact: general → benc
Whiteboard: DUPEME
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.