Skip to content

Commit

Permalink
Revert "Item13894: Remove double-encoding of attachment comments."
Browse files Browse the repository at this point in the history
This reverts commit 7269bb7.
  • Loading branch information
gac410 committed Dec 14, 2015
1 parent fe55c38 commit cdd6149
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions RCSStoreContrib/lib/Foswiki/Store/Rcs/Store.pm
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ sub saveAttachment {
my $verb = ( $topicObject->hasAttachment($name) ) ? 'update' : 'insert';
my $comment = $options->{comment} || '';

$comment = _encode($comment);
$cUID = _encode($cUID);

$handler->addRevisionFromStream( $stream, $comment, $cUID,
Expand Down

0 comments on commit cdd6149

Please sign in to comment.