Created attachment 1353603 [details] the corrupted patch downloaded from Bugzilla Description of problem: Patches downloaded from Bugzilla are corrupted Version-Release number of selected component (if applicable): 4.4 How reproducible: Always Steps to Reproduce: 1. Open a patch as diff, eg. https://bugzilla.redhat.com/attachment.cgi?id=1350621&action=diff 2. Click on "Raw Unified" on the top left Actual results: The patch contains a reference to an empty chunk referencing a non existing file named "file_not_specified_in_diff" Expected results: The patch file is the same as it was uploaded
It seems that removing "action=diff" from the URL fixes the bug: This URL has the bug: https://bugzilla.redhat.com/attachment.cgi?id=1350621&action=diff&context=patch&collapsed=&headers=1&format=raw While this one doesn't: https://bugzilla.redhat.com/attachment.cgi?id=1350621&context=patch&collapsed=&headers=1&format=raw
Fixed in Bugzilla 5. https://beta-bugzilla.redhat.com/attachment.cgi?id=1277263&action=diff *** This bug has been marked as a duplicate of bug 738069 ***