BookStack/app
Dan Brown e9f906ce56
Attachments: Fixed full range request handling
We were not responsing with a range request, where the requested range
was for the full extent of content. This changes things to always
provide a range request, even for the full range.

Change made since our existing logic could cause problems in chromium
browsers.

Elseif statement removed as its was likley redundant based upon other
existing checks.
This also changes responses for requested ranges beyond content, but I
think that's technically correct looking at the spec (416 are for when
there are no overlapping request/response ranges at all).

Updated tests to cover.
For #5342
2024-11-29 13:19:55 +00:00
..
Access OIDC: Added extra userinfo content-type normalisation and test 2024-11-28 16:58:06 +00:00
Activity Fixed notification preferences URL in email 2024-05-14 17:04:23 +08:00
Api Queries: Moved out or removed some class-level items 2024-02-07 22:41:45 +00:00
App Add XML for OpenSearch 2024-09-09 22:54:33 +02:00
Config Exports: Made pdf command timeout configurable 2024-09-27 16:33:58 +01:00
Console Update URL Command: Added revisions table support 2024-11-08 11:22:30 +00:00
Entities Includes: Workaround for PHP 8.3.14 bug 2024-11-28 16:30:59 +00:00
Exceptions Auth: Changed email confirmations to use login attempt user 2024-05-20 17:23:15 +01:00
Facades Played around with a new app structure 2023-05-17 17:56:55 +01:00
Http Attachments: Fixed full range request handling 2024-11-29 13:19:55 +00:00
Permissions Queries: Moved out or removed some class-level items 2024-02-07 22:41:45 +00:00
References References: Fixed references count/list recycle bin interaction 2024-04-01 17:08:53 +01:00
Search Search: Fixed last commented filter when using table prefixes 2024-10-05 15:20:04 +01:00
Settings Settings: Added test to cover setting category by view 2024-10-11 13:33:07 +01:00
Theming Theme System: Added AUTH_PRE_REGISTER logical event 2024-02-21 15:30:29 +00:00
Translation Languages: Added Turkmen to locale manager 2024-11-08 13:46:57 +00:00
Uploads API: Updated docs with consistent types, fixed users response example 2024-08-27 12:23:36 +01:00
Users Users: Changed name validation to min:1 instead of 2 2024-10-15 11:07:41 +01:00
Util Includes: Workaround for PHP 8.3.14 bug 2024-11-28 16:30:59 +00:00