Make WordPress Core

Opened 20 years ago

Closed 19 years ago

Last modified 19 years ago

#2750 closed defect (bug) (wontfix)

~ tilde in path, dragging uploaded image to editor breaks URL in Firefox

Reported by: rabin Owned by:
Priority: low Milestone:
Component: Administration Version: 2.0.2
Severity: minor Keywords: javascript has-patch
Cc: Focuses:

Description

Reported by Chris Lott. If the blog has a ~ in the path, and an uploaded image is dragged into
the editor in Firefox, the image link in the editor changes from

http://www.site.com/~user/wp-content/uploads/image.gif

to

http://www.site.com~user/%7Euser/wp-content/uploads/image.gif

Fixing the link in HTML mode doesn't change the end result. This
happens with Firefox but not Internet Explorer.

Attachments (1)

tiny_mce.js.patch (419 bytes ) - added by rabin 20 years ago.
patch against wp-includes/js/tinymce/tiny_mce.js from svn

Download all attachments as: .zip

Change History (5)

@rabin
20 years ago

patch against wp-includes/js/tinymce/tiny_mce.js from svn

#1 @rabin
20 years ago

  • Keywords javascript has-patch added

#2 @skeltoac
20 years ago

I see code in there that tests len <= 0. Does this patch affect relative URLs badly?

#3 @Nazgul
19 years ago

  • Resolutionwontfix
  • Status newclosed

No traction in over a year, so closing as wontfix.

Feel free to reopen if you have patches/suggestions/...

#4 @foolswisdom
19 years ago

  • Priority normallow
  • Severity normalminor
  • Summary Dragging uploaded image to editor breaks URL in Firefox~ tilde in path, dragging uploaded image to editor breaks URL in Firefox
Note: See TracTickets for help on using tickets.