Skip to content

Commit

Permalink
flagged the current code as Temp fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnweiger committed Aug 9, 2022
1 parent 0a2e834 commit ae3c5c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Scanner/ICAPClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public function getRequest(string $method, string $service, array $body = [], ar
switch ($type) {
case 'req-hdr':
case 'res-hdr':
# Temp fix, until https://github.com/owncloud/files_antivirus/pull/500
if (\array_key_exists('Preview', $headers)) {
$encapsulated[$type] = \strlen($data); # McAfee Webgateway
} else {
Expand Down

0 comments on commit ae3c5c2

Please sign in to comment.