diff --git a/client/src/app/shared/shared-forms/reactive-file.component.ts b/client/src/app/shared/shared-forms/reactive-file.component.ts index eeb2a3fd8..fac3dfb3a 100644 --- a/client/src/app/shared/shared-forms/reactive-file.component.ts +++ b/client/src/app/shared/shared-forms/reactive-file.component.ts @@ -52,7 +52,7 @@ export class ReactiveFileComponent implements OnInit, ControlValueAccessor { } const extension = '.' + file.name.split('.').pop() - if (this.extensions.includes(extension) === false) { + if (this.extensions.includes(extension.toLowerCase()) === false) { const message = $localize`PeerTube cannot handle this kind of file. Accepted extensions are ${this.allowedExtensionsMessage}}.` this.notifier.error(message) diff --git a/server/lib/live-manager.ts b/server/lib/live-manager.ts index b549c189f..66b5d119b 100644 --- a/server/lib/live-manager.ts +++ b/server/lib/live-manager.ts @@ -495,7 +495,7 @@ class LiveManager { await federateVideoIfNeeded(fullVideo, false) } catch (err) { - logger.error('Cannot save/federate new video state of live streaming.', { err }) + logger.error('Cannot save/federate new video state of live streaming of video id %d.', videoId, { err }) } }