-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
NetBox version
v3.2.4
Python version
3.10
Steps to Reproduce
1.) call api for rackface elevation (from different machine).
https://netbox.mydomain.com/api/dcim/racks/33/elevation/?face=front&render=svg&unit_width=220&unit_height=22&legend_width=30&expand_devices=true&include_images=true
where 33 is the id of the rack to generate.
2.) view source on the returned rackface.
Expected Behavior
All references should return full url. Different machine fails on relative links to display graphics.
Observed Behavior
Some link elements are represented with full url.
a fill="black" target="_top" xlink:href="https://netbox.mydomain.com/dcim/devices/89/"
others are returned with partial.
a target="_top" xlink:href="/dcim/devices/add/?site=3&location=&rack=33&face=front&position=27"
As a workaround, I parsed the return and did a string replace to fill in the missing info.