[rt-users] Error by handling Attachment in dhandler/1.1.2.4 RT2

Jesse jesse at fsck.com
Thu Aug 2 13:55:38 EDT 2001


it looks like you're running an out of date copy of RT. what rev of
RT did that autohandler come from?  This was fixed a while back, to the best
of my knowledge.


On Thu, Aug 02, 2001 at 01:15:16PM +0200, Dirk Haenelt wrote:
> hi,
> i have hier RT2 with dhandler/1.1.2.4 and a question:
> 
> 1. when i click on an attachment, the html-page was deliver as
>    text not html.
> 2. the attachment was not found: "Bad transaction number for
> attachment."
>    this can i found in the html source.
> 
> Is there such a bugfix for this problem?
> 
> my second problem, i have fixed this in :
> ...rt2/WebRT/html/Ticket/Attachment/dhandler
> ####
> [root at rt Attachment]# diff dhandler dhandler.old 
> 4,7d3
> <      #
> <      # URL: http://server.de/Ticket/Attachment/307/245/
> <      # Arg: 307/245
> <      #
> 9,10c5,6
> <         $trans = $1;
> <         $attach = $2;
> ---
> >         $trans = $2;
> >         $attach = $3;
> 19c15
> <         Abort("Bad transaction number ($trans) for attachment.");
> ---
> >         Abort("Bad transaction number for attachment.");
> ####
> 
> with this fix, i have found the next problem: the mimetype and filename
> for
> the attachment was not set correct....
> 
> can everbody help me ?
> 
> regards
> -- 
> Dirk Haenelt
> IT-Leitstelle JVA Dresden
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 

-- 
jesse reed vincent -- root at eruditorum.org -- jesse at fsck.com 
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

that's security the same way that asking for directions to topeka and
being told that a seal is a mammal is informative
					-robin at apocalypse.org




More information about the rt-users mailing list