Ticket #2492 (closed defect (bug): fixed)

Opened 3 years ago

Last modified 2 years ago

RTE assumes links are relative to /wp-admin/

Reported by: markjaquith Assigned to: anonymous
Priority: normal Milestone:
Component: Administration Version: 2.0.1
Severity: normal Keywords:
Cc:

Description

If you add links using the RTE, it FORCES them to be relative to /wp-admin/.

If you're adding relative links, you know what you're doing, and you don't want RTE playing babysitter to you and giving you a result that NO ONE ever wants (links prefixed with http://yoursite.com/wp-admin/).

Attachments

relative-links.diff (0.5 kB) - added by skeltoac on 03/04/06 22:14:50.

Change History

03/04/06 22:14:50 changed by skeltoac

  • attachment relative-links.diff added.

03/04/06 22:23:20 changed by skeltoac

Attached patch allows truly relative links ("images/foo.jpg") to be translated to the blog's home: "http://example.com/blog/images/foo.jpg"

However, a url of "/images/foo.jpg" will NOT be converted on save, so browsers will interpret it as "http://example.com/images/foo.jpg"

Note that for any change to your RTE, whether in a patch or a change of your blog home setting, the editor will not reflect the change immediately because the old code and seetings are cached by your browser. You must refresh your editor in order to get the new code/settings.

03/04/06 22:44:54 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [3612]) Relative links in RTE. fixes #2492

03/04/06 22:45:16 changed by ryan

  • status changed from closed to closed.
  • resolution set to fixed.

(In [3613]) Relative links in RTE. fixes #2492

11/30/06 19:41:50 changed by

  • milestone deleted.

Milestone 2.0.2 deleted