Show the right header if byte range not correct

Bug #1564682 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Confirmed
Low
Unassigned

Bug Description

In htdocs/lib/file.php

we have a comment: Invalid byte-range ==> ignore header when the byte range is not valid

We should instead be setting:
header('HTTP/1.1 416 Requested Range Not Satisfiable');

See: http://www.media-division.com/the-right-way-to-handle-file-downloads-in-php/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.