Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
馃悰 Fixed HTTP 500 error when given incorrect Range header
ref ENG-729 ref https://linear.app/tryghost/issue/ENG-729/incorrect-range-header-leads-to-http-500-errors - we didn't have handling here for the `RangeNotSatisfiableError` that can come from express/serve-static/send - as a result, passing an invalid range would cause a 500 error - this prevents that and adds a breaking test
- Loading branch information
1 parent
162f438
commit a506566
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters