Attachment link uncorrectly generated

Moderator: crythias

Locked
bgbak
Znuny newbie
Posts: 1
Joined: 31 Oct 2011, 09:29
Znuny Version: 3.0.11
Real Name: Bjørn Gustav Baklid
Company: Re Kommune

Attachment link uncorrectly generated

Post by bgbak »

Hi.
I am having some issues when tickets contain attachments from customers.
When I click on the attachment in the ticket the URL seems wrong, and I get an error message containing: slurp_filename('/opt/otrs/bin/cgi-bin/A1100839.doc') / opening: (2) No such file or directory at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 541
The URL then looks like this http://saaga/otrs/A1100839.doc?Action=A ... 8;FileID=1, however if I replace the filename of the attachment with “index.pl” the URL works perfectly, and I can download the attachment.

Is this a bug, or an error in my configuration?
I am running OTRS 3.0.11 with ITSM 3.0.5.

EDIT: This was caused by an configuration error done and overlooked by me.
Locked