Skip to content

\Sineflow\ClamAV\Socket\Socket sends to ClamAV Server only file path instead data  #7

@svinohod

Description

@svinohod

PHP 8.1
Symfony 6.3
sineflow/clamav 1.1.1

Configuration:

sineflow_clam_av:
  strategy: clamd_network
  host: '%env(CLAMAV_HOST)%'
  port: '%env(CLAMAV_PORT)%'

Inside \Sineflow\ClamAV\Socket\Socket::sendCommand contains $dataIn value SCAN /var/www/html/tests/resources/test-1-original.jpg instead file data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions