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

Status

Assignee

KenK

Reporter

KenK

Labels

None

Components

Fix versions

Affects versions

FarCry 7.1

Priority

Major
Configure