Skip to content

SVG image upload fail for rear/front image in device types #5433

@netixx

Description

@netixx

Environment

  • Python version: 3.8.6
  • NetBox version: 2.9.9

Steps to Reproduce

  1. Edit a device type
  2. Select an SVG file as a rear or front
  3. Save the form

Expected Behavior

Image is uploaded and save with the device type

Observed Behavior

Error returned on the image field :
Upload a valid image. The file you uploaded was either not an image or a corrupted image.

We are using the file storage backend. We also tried SVGZ format which didn't work as well.
PNG upload works fine.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions