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

pencil
Priority: Normal
Current State: Closed
Released In: 2.1.0
Target Release: minor
Applies To: Extension
Component:
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 trunk.foswiki.org.

Re-creation:
  • 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 22 Sep 2017 - 06:12.

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