Closed jnweiger closed 1 year ago
Same with camav icap without ever entering an enterprise license:
Without enterprice license and after the grace period is expired, the three different ICAP flavours behave as follows:
McAfee + Skyhigh ICAP mode just works
The problem seems to be around https://github.com/owncloud/files_antivirus/blob/master/lib/AppConfig.php#L192 as currently the check is done against the icap
class only.
Modifying it like:
if (
$key === 'av_mode'
&& ($value === 'icap'|| $value === 'fortinet' || $value === 'mawgw')
&& !$this->licenseManager->checkLicenseFor($this->appName, ["disableApp" => false])
)
will make the license check to take place for all three classes.
Proposed possible fix in https://github.com/owncloud/files_antivirus/pull/534
Seen with files_antivirus 1.2.1-rc.1 (probably not a regression)
Expected behaviour: