Wrong URL path gets generated for S3 images when images are inserted via richtext formtool

Description

When using 'Insert/edit image' button to insert attached images to richtext editor, it does unnecessary transformations to the URL if it already happens to be a fully qualified path (e.g. starts with "//"):

  • prepending S3 prefix paths

  • normalising URL strings

This is a problem if the image path is a Cloudinary URL

Environment

None

Activity

Show:

KenK 
April 8, 2015 at 12:23 AM

  • Skip prepending S3 prefix paths process when the URL path already has correct URL

  • Skip normalising URL strings for richtext insert by setting 'bRetrieve=true' for 'ioGetFileLocation' function in CDN

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created April 7, 2015 at 11:39 PM
Updated April 8, 2015 at 1:14 AM
Resolved April 8, 2015 at 12:23 AM