Look at code: libraries/Helper/MediaHelper.php line 300
$xss_check = file_get_contents($file['tmp_name'], false, null, -1, 256);
It makes no sense to me. It reads in the last character so none of the following tag tests can ever find a tag.
If terminated after the file name it can successfully reject a bad svg file.
$xss_check = file_get_contents($file['tmp_name']);//, false, null, -1, 256);
Can someone explain?
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-12-28 01:00:33 |
Closed_By | ⇒ | bembelimen |