• Himanshu Kapoor's avatar
    Use `binary` property on the file object · bf5486b5
    Himanshu Kapoor authored
    Backend sends a `binary` property as `false` for some files that
    may have a "binary" mime type but are not actually binary. Use that
    if it is available before determining if a file is binary or text.
    
    Changelog: fixed
    bf5486b5
utils_spec.js 11.4 KB