mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/13755] Ignore dots in path when determining file extension.
PHPBB3-13755
This commit is contained in:
@@ -213,6 +213,8 @@ class phpbb_filespec_test extends phpbb_test_case
|
||||
array('file.phpbb.gif', 'gif'),
|
||||
array('file..', ''),
|
||||
array('.file..jpg.webp', 'webp'),
|
||||
array('/test.com/file', ''),
|
||||
array('/test.com/file.gif', 'gif'),
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user