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 35aeb6f.
  • Loading branch information
gac410 committed Dec 14, 2015
1 parent 35aeb6f commit dcf8bc6
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 dcf8bc6

Please sign in to comment.