Opened 19 years ago
Closed 17 years ago
#2797 closed defect (bug) (worksforme)
Drag and Drop uploaded file URL breaks in Firefox 1.5.0.4
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.0.2 |
Component: | Administration | Keywords: | reporter-feedback hunted-sendnext |
Focuses: | Cc: |
Description
If I upload a file using firefox, and attempt to drag and drop it, on a wordpress site that is located at a URL other than the /, for some reason it drops part of the url.
For example, http://somewhere.com/someuser/
For some reason, when you drag and drop a file location from 'uploaded files' into the edit window, the 'someuser' portion of the url gets dropped, leaving you with a url like
'http://somewhere.com/wp-content/uploads/06/01/somefile.txt'
instead of
'http://somewhere.com/someuser/wp-content/uploads/06/01/somefile.txt'
The URL is CORRECT in the uploaded files portion (when you mouse over them, they show the correct URL, etc)
If I upload, then right-click on the url in the uploaded files section, and create a link manually in the editor, it works fine.
The drag and drop of URLs from 'file upload' into the editor window in Internet Explorer works as it should, this seems firefox specific.
Any ideas?
-b
This was created in 2.0.2 release by this enhancement: http://trac.wordpress.org/ticket/2492
I have been editing that one line out of new WP installs for months now. Clearly, 2.0.2 was not merely a security update as advertised. Of the two additional "enhancements", this one does damage. :(
Quick fix, just reverse the 2492 changeset and those wanting more intelligent processing of relative urls will have to get it another way.
Sorry, I'm no expert at patches. Somebody make one?