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

Open
opened 2025-12-29 21:51:50 +01:00 by adam · 1 comment
Owner

Originally created by @ypid on GitHub (Dec 26, 2025).

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

Originally created by @ypid on GitHub (Dec 26, 2025). ### 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 * #17788 * #19198
adam added the type: bugstatus: revisions needednetbox labels 2025-12-29 21:51:50 +01:00
Author
Owner

@jeremystretch commented on GitHub (Dec 29, 2025):

@ypid have you verified that the blockers identified in #19198 have been removed?

@jeremystretch commented on GitHub (Dec 29, 2025): @ypid have you verified that the blockers identified in #19198 have been removed?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11952