owncloud / files_antivirus

:space_invader: virus scanner for ownCloud
GNU Affero General Public License v3.0
48 stars 30 forks source link

fix: don't use `Preview` with McAffee - this will result in a `100` r… #538

Closed DeepDiver1975 closed 1 year ago

DeepDiver1975 commented 1 year ago

…esponse code, which we never implemented properly

Background

In preview mode McAffee is responding with status code 100 which results in McAffee to wait for more data to be sent by ownCloud. But we have not more data to send - and 100 handling was never properly implemented.

As a result Preview is removed from the McAffee implementation of ICAP scanner & client.

fixes https://github.com/owncloud/enterprise/issues/5588

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 6 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

jnweiger commented 11 months ago

Released as part of v1.2.2