Opened 9 years ago

Last modified 8 years ago

#8022 closed Bug

Paste of relative path image with baseHref set results in wrong urls in IE — at Initial Version

Reported by: Freddie Bingham Owned by:
Priority: Normal Milestone:
Component: General Version: 3.1
Keywords: CantFix Cc:

Description

This doesn't ever seem to work in FF, but it does in IE with baseHref is not defined.

  1. Set config.baseHref
  2. Visit a website that images set via relative urls, e.g. <img src="../somethingimage.png" />
  3. Right-click an image, select "Copy".
  4. Go to editor and paste image.
  5. Observe that image is broken and inspection of the image shows that the img src now includes the baseHref that was set with config.baseHref.

Make the same action with baseHref not set and the image displays as it contains the full url to the image from which it was copied. Even though the source image contained a relative path, the paste action results in the full URL being used unless baseHref is set.

Change History (0)

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy