[Rt-commit] r2366 - in rt/branches/PLATANO-EXPERIMENTAL: . html/REST/1.0/Forms/ticket

jesse at bestpractical.com jesse at bestpractical.com
Mon Mar 14 02:31:40 EST 2005


Author: jesse
Date: Mon Mar 14 02:31:39 2005
New Revision: 2366

Modified:
   rt/branches/PLATANO-EXPERIMENTAL/   (props changed)
   rt/branches/PLATANO-EXPERIMENTAL/html/REST/1.0/Forms/ticket/attachments
Log:
 r8469 at hualien:  jesse | 2005-03-14 02:25:51 -0500
  r4683 at hualien:  jesse | 2005-02-10 22:00:33 -0500
  Use the "OriginalContent" rather than our encoded one. this might make cli attachment downloads work better
  
  
 


Modified: rt/branches/PLATANO-EXPERIMENTAL/html/REST/1.0/Forms/ticket/attachments
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL/html/REST/1.0/Forms/ticket/attachments	(original)
+++ rt/branches/PLATANO-EXPERIMENTAL/html/REST/1.0/Forms/ticket/attachments	Mon Mar 14 02:31:39 2005
@@ -80,7 +80,7 @@
         return [ "# Invalid attachment id: $aid", [], {}, 1 ];
     }
     if ($content) {
-	$c = $attachment->Content;
+	$c = $attachment->OriginalContent;
     } else {
 	my @data;
 	push @data, [ id    => $attachment->Id   ];


More information about the Rt-commit mailing list