aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/mimetype/guesser.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/15424] Multiple typo fixes in docs & commentsluzpaz2019-05-081-1/+1
| | | | | | Fixed typos in some docs, guidelines, some non-user-facing files. PHPBB3-15424
* [ticket/13031] Slightly change behavior of choose_mime_type and add unit testsMarc Alexander2014-09-051-4/+4
| | | | | | | | | The mime type 'application/octet-stream' will still always be overwritten by proper guesses. However, guesses with guessers that have a higher priority will now overwrite previous guesses even if the mime types of these guesses had a slash in them. PHPBB3-13031
* [ticket/13031] Guess with all mimetype guessers and pick best guessMarc Alexander2014-09-051-7/+32
| | | | PHPBB3-13031
* [ticket/12557] Fix doc block in mimetype guessern-aleha2014-08-031-1/+6
| | | | PHPBB3-12557
* [ticket/12557] Fix doc block errors found by Sami pt1n-aleha2014-08-031-5/+1
| | | | PHPBB3-12557
* [ticket/12715] Cleanup comments in \phpbb\mimetype\*Tristan Darricau2014-06-151-1/+1
| | | | PHPBB3-12715
* [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-271-7/+7
| | | | PHPBB3-12594
* [ticket/11912] Remove IN_PHPBB checks from mimetype guesser filesMarc Alexander2013-11-111-8/+0
| | | | PHPBB3-11912
* [ticket/11912] Introduce guesser priority to mimetype guessersMarc Alexander2013-11-111-1/+34
| | | | | | | | | | | | | | The mimetype guesser priority can now be set through the service definition. Mimetypes will be guessed from the guesser with the highest priority to the one with the lowest priority. Standard priority types have been added to the service definition file. Any integer value can be used though. Standard mimetype guessers that do not have the methods get_priority and set_priority implemented, like the standard MimeTypeGuessers of symfony, will have the default priority with the value of 0. Lower priority guessers have values lower than 0 while high priority ones can be added with values higher than 0. PHPBB3-11912
* [ticket/11912] Supply filename to content_guesser for guessing on windowsMarc Alexander2013-10-241-2/+2
| | | | | | | | | The filename of the files sent to the guesser by plupload do not contain the file extension. Therefore, it's impossible to guess the mimetype if only the content_guesser is available and the function mime_content_type() doesn't exist. By supplying the filename we can circumvent this issue. PHPBB3-11912
* [ticket/11912] Add phpbb mimetype guesserMarc Alexander2013-10-231-0/+105
Mimetype guesser will be used as front-end file for mimetype guessing. PHPBB3-11912