Joas Schilling
cae8448fe4
Merge pull request #2432 from Nicofuma/ticket/11226
...
[ticket/11226] filespec::move_file() should error correctly
* Nicofuma/ticket/11226:
[ticket/11226] Explicity set file_moved to false
[ticket/11226] Add tests
[ticket/11226] Use $user->lang()
[ticket/11226] filespec::move_file() should error correctly
2014-05-29 00:15:10 +02:00
Tristan Darricau
b75fb96bab
[ticket/11226] Explicity set file_moved to false
...
PHPBB3-11226
2014-05-28 22:34:10 +02:00
Tristan Darricau
6a3b343dfc
[ticket/11226] Add tests
...
PHPBB3-11226
2014-05-28 10:53:19 +02:00
Yuriy Rusko
a759704b39
[ticket/12594] Remove @package tags and update file headers
...
PHPBB3-12594
2014-05-27 20:51:13 +02:00
Marc Alexander
106be54de3
[ticket/12211] Do not run attachment file names twice through htmlspecialchars
...
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
2014-04-11 21:10:28 +02:00
Marc Alexander
91c3ad07ec
[ticket/10851] Add unit and functional tests for checking attachments
...
These tests will make sure that fileuploads now work as expected regarding
the check for disallowed content.
PHPBB3-10851
2014-04-04 11:48:41 +02:00
Nils Adermann
7030578bbe
[ticket/11698] Moving all autoloadable files to phpbb/
...
PHPBB3-11698
2013-07-14 01:32:34 -04:00
Marc Alexander
54d96dfac7
[ticket/10763] Make functions for remote avatars static
...
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
2012-12-17 17:42:13 +01:00
Fyorl
df86f466e0
[ticket/10939] Modified fileupload tests to deal with new behaviour
...
PHPBB3-10939
2012-08-15 15:56:43 +01:00
Fyorl
65d7aae2f3
[ticket/10941] Removed superfluous array
...
PHPBB3-10941
2012-07-09 14:08:21 +01:00
Fyorl
d046b25124
[ticket/10941] File 'txt' now too big so changed tests to reflect that
...
PHPBB3-10941
2012-07-09 14:08:21 +01:00
Fyorl
1b3589aae8
[ticket/10941] Added a comment to ensure tags stay uppercase
...
PHPBB3-10941
2012-07-09 14:08:21 +01:00
Fyorl
f470eee8ab
[ticket/10941] Modified tearDown to use DirectoryIterator instead of glob
...
PHPBB3-10941
2012-07-09 14:08:21 +01:00
Fyorl
ae9b642b81
[ticket/10941] Added tests/upload/fixture/copies to tracking
...
PHPBB3-10941
2012-07-09 14:08:21 +01:00
Fyorl
9f3a02d475
[ticket/10941] Removed manual includes of mock classes
...
Also marked a test as incomplete even though this appears to be
ignored when actually running the tests.
PHPBB3-10941
2012-07-09 14:08:20 +01:00
Fyorl
580cec619b
[ticket/10941] Added subdirectory for file operations
...
Also removed common.php as it was unnecessary.
PHPBB3-10941
2012-07-09 14:08:20 +01:00