2017 © Pedro Peláez
 

silverstripe-vendormodule mimevalidator

Checks uploaded file content roughly matches a known MIME type for the file extension.

image

silverstripe/mimevalidator

Checks uploaded file content roughly matches a known MIME type for the file extension.

  • Monday, June 18, 2018
  • by tractorcow
  • Repository
  • 19 Watchers
  • 7 Stars
  • 37,820 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 11 Forks
  • 1 Open issues
  • 20 Versions
  • 11 % Grown

The README.md

MIME upload validator

CI Silverstripe supported module, (*1)

Installation

composer require silverstripe/mimevalidator

Introduction

Checks uploaded file content roughly matches a known MIME type for the file extension., (*2)

It can be used with FileField or any subclasses like UploadField., (*3)

For example, it will fail validation if someone renames a .exe file to .jpg and attempts to upload the file., (*4)

Installation via Composer

Install with composer by running composer require silverstripe/mimevalidator in the root of your Silverstripe project., (*5)

Silverstripe CMS Recipe 4.6 and above include this module via silverstripe/recipe-core. Therefore, it is unnecessary to directly install this module if your project has been upgraded to, or was created with CMS Recipe 4.6.0 or later., (*6)

Configuration

Read Allowed file types on the Silverstripe CMS documentation for details on configuring MIME type validation., (*7)

The Versions

18/06 2018

dev-master

9999999-dev

Checks uploaded file content roughly matches a known MIME type for the file extension.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

mime validator upload silverstripe fileinfo cwp

12/06 2018

2.0.x-dev

2.0.9999999.9999999-dev

Checks uploaded file content roughly matches a known MIME type for the file extension.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

mime validator upload silverstripe fileinfo cwp

26/01 2018

2.0.0

2.0.0.0

Checks uploaded file content roughly matches a known MIME type for the file extension.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

mime validator upload silverstripe fileinfo cwp

25/01 2018

dev-pulls/2.0/update-error-message

dev-pulls/2.0/update-error-message

Checks uploaded file content roughly matches a known MIME type for the file extension.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

mime validator upload silverstripe fileinfo cwp

20/12 2017

1.x-dev

1.9999999.9999999.9999999-dev

Checks uploaded file content roughly matches a known MIME type for the file extension.

  Sources   Download

BSD-3-Clause

The Requires

 

mime validator upload silverstripe fileinfo cwp

20/12 2017

1.0.x-dev

1.0.9999999.9999999-dev

Checks uploaded file content roughly matches a known MIME type for the file extension.

  Sources   Download

BSD-3-Clause

The Requires

 

mime validator upload silverstripe fileinfo cwp

20/12 2017

1.0.12

1.0.12.0

Checks uploaded file content roughly matches a known MIME type for the file extension.

  Sources   Download

BSD-3-Clause

The Requires

 

mime validator upload silverstripe fileinfo cwp

13/12 2017

2.0.0-beta1

2.0.0.0-beta1

Checks uploaded file content roughly matches a known MIME type for the file extension.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

mime validator upload silverstripe fileinfo cwp

25/08 2017

1.0.10

1.0.10.0

Checks uploaded file content roughly matches a known MIME type for the file extension.

  Sources   Download

BSD-3-Clause

The Requires

 

mime validator upload silverstripe fileinfo cwp

25/08 2017

1.0.11

1.0.11.0

Checks uploaded file content roughly matches a known MIME type for the file extension.

  Sources   Download

BSD-3-Clause

The Requires

 

mime validator upload silverstripe fileinfo cwp

28/03 2017

1.0.8

1.0.8.0

Checks uploaded file content roughly matches a known MIME type for the file extension.

  Sources   Download

BSD-3-Clause

The Requires

 

mime validator upload silverstripe fileinfo cwp

17/11 2016

1.0.7

1.0.7.0

Checks uploaded file content roughly matches a known MIME type for the file extension.

  Sources   Download

BSD-3-Clause

The Requires

 

mime validator upload silverstripe fileinfo cwp

17/11 2016

1.0.9

1.0.9.0

Checks uploaded file content roughly matches a known MIME type for the file extension.

  Sources   Download

BSD-3-Clause

The Requires

 

mime validator upload silverstripe fileinfo cwp

04/02 2016

1.0.6

1.0.6.0

Checks uploaded file content roughly matches a known MIME type for the file extension.

  Sources   Download

BSD-3-Clause

The Requires

 

mime validator upload silverstripe fileinfo cwp

19/11 2015

1.0.5

1.0.5.0

Checks uploaded file content roughly matches a known MIME type for the file extension.

  Sources   Download

BSD-3-Clause

The Requires

 

mime validator upload silverstripe fileinfo cwp

20/08 2015

1.0.4

1.0.4.0

Checks uploaded file content roughly matches a known MIME type for the file extension.

  Sources   Download

BSD-3-Clause

The Requires

 

mime validator upload silverstripe fileinfo

23/02 2015

1.0.3

1.0.3.0

Checks uploaded file content roughly matches a known MIME type for the file extension.

  Sources   Download

BSD-3-Clause

The Requires

 

mime validator upload silverstripe fileinfo

29/01 2015

1.0.2

1.0.2.0

Checks uploaded file content roughly matches a known MIME type for the file extension.

  Sources   Download

BSD-3-Clause

The Requires

 

mime validator upload silverstripe fileinfo

18/11 2014

1.0.1

1.0.1.0

Checks uploaded file content roughly matches a known MIME type for the file extension.

  Sources   Download

BSD-3-Clause

The Requires

 

mime validator upload silverstripe fileinfo

04/08 2014

1.0.0

1.0.0.0

Checks uploaded file content roughly matches a known MIME type for the file extension.

  Sources   Download

BSD-3-Clause

The Requires

 

mime validator upload silverstripe fileinfo