A robust ClamAV virus scanning library supporting scanning files, directories, and streams with local sockets, local/remote TCP, and local clamscan/clamdscan binaries (with failover).
This PR fixes #125 by removing unnecessary filename sanitization in the scanFile method. Tests were added to verify files can still be found with spaces in them (without having to explicitly escape them) and they passed.
This PR fixes #125 by removing unnecessary filename sanitization in the
scanFile
method. Tests were added to verify files can still be found with spaces in them (without having to explicitly escape them) and they passed.Thank you to @thelaughinglama for the bug report!