Closed Bug 47477 Opened 24 years ago Closed 24 years ago

Copy-paste in X causes pasted text to be interpreted as a URL

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: maw19, Assigned: joki)

Details

If you select some text in X windows, then middle-click
the browser window in a non-link area, the browser attempts to interpret the
pasted text as a URL and attempts to navigate to said URL.  So if I select the
text "Some fields initialized from your user-agent" and middle click on the
browser window in some blank space, the browser tries to navigate to
"http://some%20fields%20initialized%20from%20your%20user-agent/"
You weren't clicking in a text box, were you? If so it's a bug, if not, it's a
usefull feature. I like being able to paste URLs directly on the browser window
without having the clear the location bar (which would, in turn, clear the
"clipboard").
As for attempting to interpret non urls as urls, the location bar does the same
thing. It's the user's responsability to input a valid URL.

Reccomending "invalid" status.
This is correct behaviour. If you pasted on a text field, that would just paste 
the text and not try to load anything.

Marking invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
verified
Status: RESOLVED → VERIFIED
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.