Changed Content-Disposition from inline to attachment for raw diff download.
Review Request #5893 — Created May 28, 2014 and submitted
Fixes bug #3384.
Manual testing with Chrome Version 35.0.1916.114, the affected browser. Also tested Firefox 29.0. In Chrome, Download Diff now downloads instead of displaying in the browser window.
Added unit test.
Description | From | Last Updated |
---|---|---|
Col: 80 E501 line too long (86 > 79 characters) |
reviewbot | |
local variable 'filediff' is assigned to but never used |
reviewbot | |
Col: 80 E501 line too long (89 > 79 characters) |
reviewbot | |
list comprehension redefines 'file_attachment' from line 571 |
reviewbot | |
local variable 'diffset' is assigned to but never used |
reviewbot | |
list comprehension redefines 'file_attachment' from line 571 |
reviewbot | |
list comprehension redefines 'file_attachment' from line 571 |
reviewbot |
JA
- Change Summary:
-
Addressed bot reviews for my changes.
- Commit:
-
c32709f1d14380826a494e3862f2cfe036c63c758044b34c10e5e548e8760635c917b4a2f002dad0
-
This is a review from Review Bot. Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/views.py reviewboard/reviews/tests.py Ignored Files:
JA
- Change Summary:
-
Review bot.
- Commit:
-
8044b34c10e5e548e8760635c917b4a2f002dad01c74e79cfacb982373e34161fb1c3d5753c63c5c
-
This is a review from Review Bot. Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/views.py reviewboard/reviews/tests.py Ignored Files: