diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2025-03-27 16:10:20 +0100 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2025-03-28 08:21:37 +0100 |
| commit | 6d7950bddc3733b02e8ba8968c8264cf115a52dc (patch) | |
| tree | d42b8856d02ca6003f162608533ad490a6e752ce /Jellyfin.Api/Controllers/VideosController.cs | |
| parent | ae4b35da462ad569bdc6f10df1cc8095cb1466e5 (diff) | |
Fix container parameter validation
Diffstat (limited to 'Jellyfin.Api/Controllers/VideosController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/VideosController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/VideosController.cs b/Jellyfin.Api/Controllers/VideosController.cs index 6f18c1603..685d502e4 100644 --- a/Jellyfin.Api/Controllers/VideosController.cs +++ b/Jellyfin.Api/Controllers/VideosController.cs @@ -556,7 +556,7 @@ public class VideosController : BaseJellyfinApiController [ProducesVideoFile] public Task<ActionResult> GetVideoStreamByContainer( [FromRoute, Required] Guid itemId, - [FromRoute, Required] string container, + [FromRoute, Required] [RegularExpression(EncodingHelper.ValidationRegex)] string container, [FromQuery] bool? @static, [FromQuery] string? @params, [FromQuery] string? tag, |
