From 6f7b92ae1023f958e4b9894950a412fadc52b802 Mon Sep 17 00:00:00 2001 From: hanakin Date: Mon, 23 Jan 2017 22:41:08 -0500 Subject: [PATCH] [ticket/15307] fix for good! PHPBB3-15037 --- phpBB/develop/test.gif | Bin 807 -> 1131 bytes tests/functional/fileupload_remote_test.php | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/develop/test.gif b/phpBB/develop/test.gif index cd29009a65a4c35c56a9c296731e1ae8650fd789..0dbc9b04592ed92fd894adab6bb29e2d61a7640c 100644 GIT binary patch literal 1131 zcmc&z>rc;N6hB_HMHmggp}8!Vre2scie|JXtVKmpYg4NoY$TJlW|B>_70oQR<5n)2 zv89@}NMQ{#PYiQSOQV>SkzYvm_&nc#!t?Izob$Pz?|0?uxTwWh3upoTB(m-qYt>q@ zmaQdM8DouFBi67r{qZv7%PQ3R@w!%Eq!<7RzjzfMm&7QcGfqEujE5 zpn-*DOq1hrPmK{{*cfuOs8o%LQ8r3W1)8Ep#0VQ9CknHyhQ%-&CTPT}AvGk1*brEu z8ek9&m5_xVh=C1gU}2e@Ay?yxDyx$72U=7jDy%}zE>xh&qRh$!_Yj3yB~fA}*h3zW ziEYFI{}2I(Pz^AMhDwY=2Z(_UXkd{`&b3kFu?V>!;SaQ^n1uhy$8n7!IKtU=WQ>$bt?K0~^rfPUNQ1MvX_f7=na9(4t~;ABW4; zySHn4Cv-7;S8=mm&@Oc^JGbh^;f~-rbV#0PcN0&C1NNZtIp9hN51v5vzg~nRcK-qe zTJi;ktU8kEi@h2=FQYNZJ_tIpjm3#z$r^j_Wh`{h?>l}<=Ye0R4r=*G6; zU*C>hI})0`BqOo7XZ4{eX`d_Rth?BDGHOHrk5}BYwkmAb*xBh7vz}JP>!Q;e2eu|u zCl#(az2*DXxU=zDxqDYV34c+WJ@fdAp@qE&7^fjS5>36Pw zPw@Qo#?ZjnjR?(MxD9*>Ri{2!{KuS$|l$KTsbv+bJ1{Q{i6p7%Qj8w)BLPw z5lOz3F-_f{&R54)wrt<+?|;#_skgkX{Yzf^?L99C!;*aT^eyTHa=i`*>kExRSI&wyF tz|j5R{UcAj9KZk0Zr}6m0TVAKXYROO&{0%z>_b<~=#oo`*&{|!^gp<+^g93m literal 807 zcmc(ev9VP_3`6y2UO*edqfQtYvn%VZ`yDQgw4er)UO?E4 zG}?&ude0I+aCWBTh&{G)+1Z^EH2%S&yR*F@2^#-k(M{6WB}?Lfl40@y3ddLk8ZD?9 zg$ociBaL=%^s=MQ51jIZB#U7`y9^j^TNb@FZ#UFVO{XJzi2OxCoPcgy&uO1 reI`&k%nR$;Tn^vIGfg}7`&jfilesystem, $this->factory, $this->language, $this->php_ini, $this->request, $this->phpbb_root_path); $upload->set_error_prefix('') ->set_allowed_extensions(array('gif')) - ->set_max_filesize(1000); + ->set_max_filesize(1100); $file = $upload->handle_upload('files.types.remote', self::$root_url . 'develop/test.gif'); $this->assertEquals(0, sizeof($file->error)); $this->assertTrue(file_exists($file->get('filename'))); @@ -113,7 +113,7 @@ class phpbb_functional_fileupload_remote_test extends phpbb_functional_test_case $upload = new \phpbb\files\upload($this->filesystem, $this->factory, $this->language, $this->php_ini, $this->request, $this->phpbb_root_path); $upload->set_error_prefix('') ->set_allowed_extensions(array('gif')) - ->set_max_filesize(1); + ->set_max_filesize(100); $file = $upload->handle_upload('files.types.remote', self::$root_url . 'develop/test.gif'); $this->assertEquals(1, sizeof($file->error)); $this->assertEquals('WRONG_FILESIZE', $file->error[0]);