Needs adding
needs adding addslashes call in replace_keys() as proposed here :
....
set_config('openssl', implode('@@@@@@@@', $this->keypair), 'mnet');
$this->name = addslashes($this->name); // <<< ALL SITE NAMES WITH QUOTES ARE PROTECTED.
update_record('mnet_host', $this);
error_log('New public key has been generated. It expires ' . date('Y/m/d h:i:s', $this->public_key_expires));
}
- will help resolve
-
MDL-21258 Security related tasks
-
- Closed
-