Skip to content

avif and potential other image formats missing in list of acceptable extensions for handling filenames in image_upload #21039

@ypid

Description

@ypid

NetBox Edition

NetBox Community

NetBox Version

v4.4.9

Python Version

3.12

Steps to Reproduce

  1. Upload avif image ("avif-sample.avif") as Image Attachment for example from https://convertico.com/samples/avif/
  2. Type something as name or leave name blank, does not matter

Expected Behavior

Image is accessible as https://demo.netbox.dev/media/image-attachments/device_27_avif-sample.avif

Observed Behavior

Image is accessible as https://demo.netbox.dev/media/image-attachments/device_27_avif-sample

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    netboxpending closureRequires immediate attention to avoid being closed for inactivitystatus: revisions neededThis issue requires additional information to be actionabletype: bugA confirmed report of unexpected behavior in the application

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions