Skip to content

vrpipe assumes any file with binary data in it is gzip compressed #22

@jrandall

Description

@jrandall

we had an issue wherein our logs contained some null characters. vrpipe-submissions refused to display them (after 59 retries) because it apparently thinks that anything that file -bi says is 'application/octet-stream' is in fact a gzip compressed file. These logs are not gzip compressed, so that didn't work, and we got an error that looks like some kind of filesystem error.

See:

if ($magic eq 'application/octet-stream' || $path =~ /\.gz$/) {

FWIW, that should be changed to: 'application/x-gzip' and all should be fine.

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