Bug: Pipe chars in the comment field of the attachment table are not escaped
A pipe character generates a new column, thereby messing up the table. Pipe characters should be escaped / encoded/decoded.
Test case
View the attachment table at the bottom of
BetterAttachmentTableForCairoRelease.
Environment
--
ArthurClemens - 19 Jul 2004
Follow up
Fix record
The fix is now in
SVN.
Index: Attach.pm
===================================================================
--- Attach.pm (revision 1587)
+++ Attach.pm (working copy)
@@ -199,6 +199,7 @@
$row =~ s/%A_SIZE%/$attrSize/go;
}
+ $comment =~ s/\|/|/g;
$comment = " " unless ( $comment );
$row =~ s/%A_COMMENT%/$comment/go;
--
PeterThoeny - 20 Jul 2004