MDL-52194 flowplayer: do not check request

$_REQUEST variable may contain cookies in some php configurations. See also MDL-48085
This commit is contained in:
Marina Glancy
2015-11-18 15:38:27 +08:00
parent ab881c73e9
commit 5486cc980c
+1 -1
View File
@@ -36,7 +36,7 @@ function flowplayer_send_flash_content($filename) {
// Note: Do not use any fancy APIs here, this must work in all supported versions.
// No url params.
if (!empty($_GET) or !empty($_POST) or !empty($_REQUEST)) {
if (!empty($_GET) or !empty($_POST)) {
header("HTTP/1.1 404 Not Found");
die;
}