Skip to content

Safe-SVG recent versions are not compatible with WP Offload Media #286

@stevenwareham

Description

@stevenwareham

Describe the bug

When using the plugin WP Offload Media and a recent version of Safe-SVG we cannot upload .svg files. An error AS3CF: Mime type "" is not allowed (Media Library Item with id 155) is seen in the logs.

Reverting the safe-svg plugin to version 2.1.1 fixes the problem and .svg files upload OK using the WP media library and the WP Offload Media plugin.

Steps to Reproduce

  1. Enable WP Offload Media plugin
  2. Enable Safe-SVG plugin version 2.4
  3. Upload a .svg file through the media library
  4. Note that the .svg file does not offload to the S3 bucket, (other formats JPG/PNG) offload OK

Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededneeds:engineeringThis requires engineering to resolve.type:bugSomething isn't working.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions