diff options
author | Marc Alexander <admin@m-a-styles.de> | 2013-10-24 21:03:06 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2013-10-24 23:43:40 +0200 |
commit | 9b0b5481fe05b10a254861495280d04721e8d9d1 (patch) | |
tree | 7341ab0d393b06d0f7a961eb207bd46a28859478 /tests | |
parent | 2adf3d7a3473fe8d01e850329bd935e97f09668d (diff) | |
download | forums-9b0b5481fe05b10a254861495280d04721e8d9d1.tar forums-9b0b5481fe05b10a254861495280d04721e8d9d1.tar.gz forums-9b0b5481fe05b10a254861495280d04721e8d9d1.tar.bz2 forums-9b0b5481fe05b10a254861495280d04721e8d9d1.tar.xz forums-9b0b5481fe05b10a254861495280d04721e8d9d1.zip |
[ticket/11534] Check remote avatar content type if possible
This should make sure that error pages like 404 or 503 pages are not treated
as remote avatar images.
PHPBB3-11534
Diffstat (limited to 'tests')
-rw-r--r-- | tests/functional/avatar_acp_groups_test.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/functional/avatar_acp_groups_test.php b/tests/functional/avatar_acp_groups_test.php index 9fdc29cc76..5e908bc6da 100644 --- a/tests/functional/avatar_acp_groups_test.php +++ b/tests/functional/avatar_acp_groups_test.php @@ -50,6 +50,15 @@ class phpbb_functional_avatar_acp_groups_test extends phpbb_functional_common_av 'avatar_delete' => array('tick', ''), ), ), + array( + 'The URL you specified is invalid.', + 'avatar_driver_remote', + array( + 'avatar_remote_url' => 'https://www.phpbb.com/avatar/55502f40dc8b7c769880b10874abc9d0.jpg', + 'avatar_remote_width' => 80, + 'avatar_remote_height' => 80, + ), + ), ); } |