Skip to content

Commit

Permalink
Range: should not be attempted for protected files
Browse files Browse the repository at this point in the history
  • Loading branch information
leedxw committed Jun 28, 2024
1 parent 21f69a9 commit 4fb589b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions redirect.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ function dxw_members_only_serve_uploads()
header('Content-Type: ' . $type);
header('Content-Length: ' . filesize($file));
header('Last-Modified: ' . gmdate('D, d M Y H:i:s T', filemtime($file)));
header('Accept-Ranges: none');

header('X-Accel-Buffering: no');

Expand Down

0 comments on commit 4fb589b

Please sign in to comment.