rack front view using (possibly) hardcoded absolute paths #4047

Closed
opened 2025-12-29 18:32:50 +01:00 by adam · 1 comment
Owner

Originally created by @anubisg1 on GitHub (Aug 31, 2020).

Environment

  • Python version: unknown
  • NetBox version: 2.8.8

Steps to Reproduce

Go to a rack view and you'll notice a difference between front and back view.
The back view works correctly while the front view seems to have hard coded links (i'm assuming absolute paths).

In our deployment netbox is installed on an internal server running docker and the "real" installation URL is hidden to users via a load balancer/proxy

this causes the front view to not show images and have all links basically broken

image

doing an inspect of the page, i can see the front view using an absolute path to the internal hidden url, while the rear view is using relative paths (reachable)

Expected Behavior

front view to behave like rear view

Observed Behavior

because of wrongly defined URL, the front view is broken. rear view works correctly

Originally created by @anubisg1 on GitHub (Aug 31, 2020). ### Environment * Python version: unknown * NetBox version: 2.8.8 ### Steps to Reproduce Go to a rack view and you'll notice a difference between front and back view. The back view works correctly while the front view seems to have hard coded links (i'm assuming absolute paths). In our deployment netbox is installed on an internal server running docker and the "real" installation URL is hidden to users via a load balancer/proxy this causes the front view to not show images and have all links basically broken ![image](https://user-images.githubusercontent.com/4518931/91689807-1da81380-eb65-11ea-9af2-418fb4e19a7c.png) doing an inspect of the page, i can see the front view using an absolute path to the internal hidden url, while the rear view is using relative paths (reachable) ### Expected Behavior front view to behave like rear view ### Observed Behavior because of wrongly defined URL, the front view is broken. rear view works correctly
adam added the status: duplicate label 2025-12-29 18:32:50 +01:00
adam closed this issue 2025-12-29 18:32:50 +01:00
Author
Owner

@jeremystretch commented on GitHub (Aug 31, 2020):

Thank you for submitting this issue, however it appears that this topic has already been raised. Please see issue #5058 for further discussion.

@jeremystretch commented on GitHub (Aug 31, 2020): Thank you for submitting this issue, however it appears that this topic has already been raised. Please see issue #5058 for further discussion.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4047