Closed Bug 22388 Opened 25 years ago Closed 22 years ago

URL bar is multi-line

Categories

(SeaMonkey :: Location Bar, defect, P3)

x86
Windows 98

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 21032

People

(Reporter: mozilla, Assigned: rubydoo123)

Details

The URL bar accepts line feeds and characters after line feeds. One can paste an
entire essay into the URL bar. Shouldn't this thing be single line?
And when you do paste an entire essay and hit return, you get this:

JavaScript Error:
uncaught exception: [Exception... "Component returned failure
code: 0x804b0012 [nsIBrowserInstance.loadUrl]"
nsresult: "0x804b0012 (<unknown>)"
location: "JS frame :: chrome://navigator/content/navigator.js :: BrowserLoa
dURL :: line 1068"  data: no]
Assignee: chofmann → gagan
Component: other → Networking
QA Contact: leger → tever
tever, do you see this too?
Assignee: gagan → nobody
Component: Networking → Browser-General
wrong assignment...!
Assignee: nobody → karnaze
Component: Browser-General → HTML Form Controls
Is this a feature or a bug?  I like the idea that I can paste something that's
split across two lines into a single-line text input and have it go to a single
line.

However, on other text inputs (not URL bar, e.g., http://bugzilla.mozilla.org/ )
I can paste two lines and get it to show up as two lines.  That's bad.  (Using
Win95 Mozilla 1999-12-23-08-M13.)

Changing component to HTML Form Controls and reassigning.
I don't think it's good or bad, but that it is an unhandled exception is bad.
Assignee: karnaze → don
Reassigning to Don.
Assignee: don → beppe
Component: HTML Form Controls → Editor
Hmmmm, can someone on the Ender team help us with this?
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 21032 ***
verified duplicate of 21032 - pasting multiple lines into an <input type=text>
Status: RESOLVED → VERIFIED
setting to an approximate milestone so it can be off of the no TFV list
Target Milestone: --- → M13
Mass removing self from CC list.
Now I feel sumb because I have to add back. Sorry for the spam.
REOPEN:
I don't think this is a dupe, b/c URL bar and Form submission are not the same
thing.

In this case, I think we need a URI fixup design decision made here. You could
take the input and URL encode the line breaks.
Status: VERIFIED → REOPENED
Component: Editor: Core → URL Bar
Resolution: DUPLICATE → ---
no, the url bar and input type text (single line text field) are the same

*** This bug has been marked as a duplicate of 21032 ***
Status: REOPENED → RESOLVED
Closed: 25 years ago22 years ago
Resolution: --- → DUPLICATE
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.