Item13894: RcsStore double-encodes utf8 comments into the attachment revision log.

Priority: Normal
Current State: Closed
Released In: 2.1.0
Target Release: minor
Applies To: Extension
Branches: master Release02x00
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
Removing a call to _encode($comment) appears to fix the attachment comment history.

-- GeorgeClark - 14 Dec 2015

Thought I fixed it locally ... but still failing on

  • Attach a file, with unicode text in the comment
  • The comment is correct in the Meta, but wrong in the attachment history

-- GeorgeClark - 14 Dec 2015

Reverted. Fix was incorrect, and I have no idea what/where the fix is.

-- GeorgeClark - 14 Dec 2015

Would this happen to be related to a fancy behaviour we are seeing with /bin/rest/ImagePlugin/resize. The supposed JPG binary data gets utf8 encoded!

-- Main.AndreLichtsteiner - 14 Dec 2015 - 14:01

Topic revision: r5 - 20 Mar 2016, GeorgeClark - This page was cached on 16 Sep 2021 - 12:44.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy