Closed Bug 26113 Opened 26 years ago Closed 26 years ago

middle button Pasting into hidden field cross pastes into URL field

Categories

(Core :: DOM: Core & HTML, defect, P3)

x86
Other
defect

Tracking

()

VERIFIED DUPLICATE of bug 23669

People

(Reporter: mrmcd, Assigned: karnaze)

Details

When filling in a form, and I come to a password field, and paste test into that field via the middle mouse button (or simultanious clicking of lft+rgt buttons for 2-button mice) the values are filled into the field, however the browser also tries to load it as a URL, usually resulting in an invalid domain error. Example behavior: I get my bugzilla password from my mail client in another window, and highlight the generated password in that window. I switch to mozilla and place my cursor in that text field I click both buttons at once, the text is pasted into the field correctly, however it is also somehow pasted into the url field. if, for example, the text was "blahfoobar", the broswer tries to access http://www.blahfoobar.com/ This dosen't happen on clear text fields, only ones where the text is echoed as *'s. I have also gotten this to happen when pasting text from the console window.
Will note in bug 23669 that workaround doesn't work for password fields. *** This bug has been marked as a duplicate of 23669 ***
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
verified dupe of bug 23669 "Middle-mouse paste into text field can load a URL"
Status: RESOLVED → VERIFIED
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.