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

VERIFIED INVALID

Status

()

Core
Event Handling
P3
major
VERIFIED INVALID
18 years ago
18 years ago

People

(Reporter: maw19, Assigned: joki (gone))

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
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/"

Comment 1

18 years ago
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
Last Resolved: 18 years ago
Resolution: --- → INVALID

Comment 3

18 years ago
verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.