Page 1 of 1

Problem with Attachments

Posted: 31 Aug 2017, 14:41
by veronez
When I try to download the attached files, I only got the hexadecimal content of them.

I'm using Mantis 2.5.0 and Postgresql 9.4.8 and already try to change bytea like:
ALTER USER mantis SET bytea_output = 'escape';
ALTER DATABASE mantis SET bytea_output = 'escape';

but I have no success in get the files with correct format.

It's possible to convert the hex content to text after download what makes me think that the file content on database is correct. The problem is some conversion made in the process.

Any help will be appreciated.
Thanks in advance.

Re: Problem with Attachments

Posted: 08 Nov 2017, 14:39
by veronez
No solution yet.
Changed my file $g_file_upload_method to DISK.