Open Bug 1502060 Opened 7 years ago Updated 6 years ago

Corruption of Binary Attachments

Categories

(Bugzilla :: Attachments & Requests, defect)

defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: spamsinks712566138, Unassigned)

Details

Attachments

(3 files)

Attached file checksetup.log
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36 Steps to reproduce: 1. Installed Bugzilla 5.1.2 on: - Windows Server 2012 R2 - Strawberry Perl 5.28.0.1 / MSWin32-x64-multi-thread - MariaDB v5.5.5-10.1.21 - Running on PSGI mode with Plack - checksetup.pl --check-modules result will be attached 2. Upload an binary attachment, a PNG file in this instance to a bug. 3. Download the mentioned attachment through Bugzilla. Actual results: 1. The downloaded PNG file from Bugzilla appears to be corrupted. Upon further inspection, it seem like some of the \R characters is missing from the downloaded file. 2. Downloading the same file as BLOB from the database via phpmyadmin will produce an intact PNG file, identical to the original. Expected results: Attachment should be download as it is uploaded.
Additional Information: Collation for the Bugzilla database, and all its tables are utf8_general_ci.
Additional Information: - The same issue exists with ActivePerl 5.24 64-bit + Plack. - The attachment can be downloaded intact with Bugzilla running in traditional CGI mode, indicating something is not working properly in the PSGI mode?

Same thing is happening with me. I upgraded the database to UTF-8, then upgraded to 5.1.2, attachments stopped working. Then I deleted the database and restored the older DB and bugzilla, but the attachments cannot still be viewed

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: