Skip to content

Latest commit

 

History

History
11 lines (11 loc) · 468 Bytes

2023-11-30-improve-file-validation-service.md

File metadata and controls

11 lines (11 loc) · 468 Bytes
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Improve file validation service
issue: NEXT-32034
author: Elias Lackner
author_email: lackner.elias@gmail.com
author_github: @lacknere
---

Administration

  • Changed function checkByExtension in src/app/service/file-validation.service.ts to use last part of filename as extension.
  • Added missing mime types to extensionByType map in src/app/service/file-validation.service.ts.
  • Added src/app/service/file-validation.service.ts service provider.