Please see my previous updates on page 3.
I checked the plugin for the “aam-media” parameter. There are only 2 files:
\core\Media.php
\Shared\Manager.php
in Media.php is:
protected function __construct() {
$media = filter_input(INPUT_GET, ‘aam-media’);
$request = (is_numeric($media) ? urldecode(AAM_Core_Request::server(‘REQUEST_URI’)) : $media);
$root = AAM_Core_Request::server(‘DOCUMENT_ROOT’);
$this->request = str_replace(‘\\’, ‘/’, $root . $request);
$this->request_uri = preg_replace(‘/\?.*$/’, ”, $request);
}
and in Manager.php is:
//check Media Access if needed
if (AAM_Core_Request::get(‘aam-media’)) {
AAM_Core_Media::bootstrap()->authorize();
}
could this INPUT_GET or AAM_Core_Request::get be the problem?
Because the first command in the access.log was
GET /wp-config.php?aam-media=1
-
This reply was modified 5 years, 2 months ago by marc77.