aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-04-26 09:24:03 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-04-26 09:24:03 +0200
commit59a178f3cba87f536826df251120f03980a556c6 (patch)
treedbf39e3c33642319b033b36e43ff6ccca2d52716 /tests
parent887f83589ff34dc087b75f3f2dfa9f1da73c8dea (diff)
parent47514ca2df301631bf9ee2043e347f95f11f57da (diff)
downloadforums-59a178f3cba87f536826df251120f03980a556c6.tar
forums-59a178f3cba87f536826df251120f03980a556c6.tar.gz
forums-59a178f3cba87f536826df251120f03980a556c6.tar.bz2
forums-59a178f3cba87f536826df251120f03980a556c6.tar.xz
forums-59a178f3cba87f536826df251120f03980a556c6.zip
Merge pull request #3532 from prototech/ticket/13755
[ticket/13755] Ignore dots in path when determining file extension.
Diffstat (limited to 'tests')
-rw-r--r--tests/upload/filespec_test.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/upload/filespec_test.php b/tests/upload/filespec_test.php
index 05547dcd00..ed28bcb38f 100644
--- a/tests/upload/filespec_test.php
+++ b/tests/upload/filespec_test.php
@@ -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'),
);
}