Closed Bug 238843 Opened 21 years ago Closed 21 years ago

Location field should strip newlines.

Categories

(SeaMonkey :: Location Bar, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 23485

People

(Reporter: mozilla, Unassigned)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7b) Gecko/20040315 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7b) Gecko/20040315 Often, when a long URL is sent via email, it will be wrapped into multiple lines, like this: http://www.amazon.com/exec/obidos/tg/ detail/-/0596000529/qid%3D1080349246 In most mail clients, the top part will be clickable, but the bottom will not. Thus, the user resorts to copy/paste. Currently, the user must copy the first line, switch to mozilla, paste, switch back, copy the second line, switch back to mozilla, and paste the rest. The process would be greatly simplified if the Location field would simply ignore any newlines, requiring the user to copy/paste only once. Reproducible: Always Steps to Reproduce: 1. Select and copy any long, wrapped URL. 2. Paste URL into mozilla's Location field. Actual Results: Only the first line of the URL will be pasted in. The user must copy/paste each line individually. Expected Results: The field should have ignored any newlines, thus assembling the URL properly when pasted.
*** This bug has been marked as a duplicate of 23485 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You get this functionality with a user preference: user_pref("editor.singleLine.pasteNewlines", 3); Add this line to your user.js in your profile, or create a user.js in your profile containing this line.
V/dupe.
Status: RESOLVED → VERIFIED
QA Contact: benc
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.