aboutsummaryrefslogtreecommitdiffstats
path: root/tests/upload/filespec_test.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-271-6/+10
| | | | PHPBB3-12594
* [ticket/12211] Do not run attachment file names twice through htmlspecialcharsMarc Alexander2014-04-111-0/+14
| | | | | | | | Upload filenames are already processed via htmlspecialchars in the type_cast_helper of the new request class. There is no need to run it through htmlspecialchars() again in the filespec class. PHPBB3-12211
* [ticket/10851] Add unit and functional tests for checking attachmentsMarc Alexander2014-04-041-0/+2
| | | | | | | These tests will make sure that fileuploads now work as expected regarding the check for disallowed content. PHPBB3-10851
* [ticket/10763] Make functions for remote avatars staticMarc Alexander2012-12-171-2/+1
| | | | | | | | | fileupload::image_types() and filespec::get_extension() are called statically while submitting the form for the remote avatar. Make them static as described in the ticket in order to prevent a PHP notice. Also change the tests to use the static functions. PHPBB3-10763
* [ticket/10941] Removed superfluous arrayFyorl2012-07-091-1/+1
| | | | PHPBB3-10941
* [ticket/10941] File 'txt' now too big so changed tests to reflect thatFyorl2012-07-091-1/+1
| | | | PHPBB3-10941
* [ticket/10941] Modified tearDown to use DirectoryIterator instead of globFyorl2012-07-091-2/+7
| | | | PHPBB3-10941
* [ticket/10941] Removed manual includes of mock classesFyorl2012-07-091-2/+0
| | | | | | | Also marked a test as incomplete even though this appears to be ignored when actually running the tests. PHPBB3-10941
* [ticket/10941] Added subdirectory for file operationsFyorl2012-07-091-0/+272
Also removed common.php as it was unnecessary. PHPBB3-10941