Device link rack view adds additional '%', breaking the link. #3737

Closed
opened 2025-12-29 18:30:51 +01:00 by adam · 2 comments
Owner

Originally created by @erdems on GitHub (May 31, 2020).

Environment

  • Python version: 3.6.8
  • NetBox version: 2.8.5

Steps to Reproduce

  1. Add one rack and one device.
  2. Assign device to anywhere in the rack.
  3. Go to rack view (i.e. https://netbox/dcim/racks/1
  4. Clicking on the device inside the rack gives the link.

Expected Behavior

The link should not contain the %25 part.

Observed Behavior

The redirection is to 'https://netbox/%25/dcim/devices/1', resulting in a "The requested page does not exist" error.

Originally created by @erdems on GitHub (May 31, 2020). <!-- NOTE: IF YOUR ISSUE DOES NOT FOLLOW THIS TEMPLATE, IT WILL BE CLOSED. This form is only for reproducible bugs. If you need assistance with NetBox installation, or if you have a general question, DO NOT open an issue. Instead, post to our mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please describe the environment in which you are running NetBox. Be sure that you are running an unmodified instance of the latest stable release before submitting a bug report, and that any plugins have been disabled. --> ### Environment * Python version: 3.6.8 * NetBox version: 2.8.5 <!-- Describe in detail the exact steps that someone else can take to reproduce this bug using the current stable release of NetBox. Begin with the creation of any necessary database objects and call out every operation being performed explicitly. If reporting a bug in the REST API, be sure to reconstruct the raw HTTP request(s) being made: Don't rely on a client library such as pynetbox. --> ### Steps to Reproduce 1. Add one rack and one device. 2. Assign device to anywhere in the rack. 3. Go to rack view (i.e. https://netbox/dcim/racks/1 4. Clicking on the device inside the rack gives the link. <!-- What did you expect to happen? --> ### Expected Behavior The link should not contain the %25 part. <!-- What happened instead? --> ### Observed Behavior The redirection is to 'https://netbox/%25/dcim/devices/1', resulting in a "The requested page does not exist" error.
adam closed this issue 2025-12-29 18:30:51 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jun 1, 2020):

This appears to be an error in your httpd configuration. Please see the included config examples to validate your config, and consider posting on our mailing list if you need further assistance.

@jeremystretch commented on GitHub (Jun 1, 2020): This appears to be an error in your httpd configuration. Please see the [included config examples](https://github.com/netbox-community/netbox/tree/develop/contrib) to validate your config, and consider posting on our [mailing list](https://groups.google.com/forum/#!forum/netbox-discuss) if you need further assistance.
Author
Owner

@erdems commented on GitHub (Jun 1, 2020):

Hey Jeremy,

Thanks for the reply. It seems the examples require apache 2.4.10 and centos7 is shipped with 2.4.6. I will sort it out.

Cheers,

On 1 Jun 2020, at 15:01, Jeremy Stretch notifications@github.com wrote:

This appears to be an error in your httpd configuration. Please see the included config examples https://github.com/netbox-community/netbox/tree/develop/contrib to validate your config, and consider posting on our mailing list https://groups.google.com/forum/#!forum/netbox-discuss if you need further assistance.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/netbox-community/netbox/issues/4703#issuecomment-636847977, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIAYL5CSW4KCMYKHYIMNMTRUORD5ANCNFSM4NO54CGQ.

@erdems commented on GitHub (Jun 1, 2020): Hey Jeremy, Thanks for the reply. It seems the examples require apache 2.4.10 and centos7 is shipped with 2.4.6. I will sort it out. Cheers, > On 1 Jun 2020, at 15:01, Jeremy Stretch <notifications@github.com> wrote: > > > This appears to be an error in your httpd configuration. Please see the included config examples <https://github.com/netbox-community/netbox/tree/develop/contrib> to validate your config, and consider posting on our mailing list <https://groups.google.com/forum/#!forum/netbox-discuss> if you need further assistance. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub <https://github.com/netbox-community/netbox/issues/4703#issuecomment-636847977>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAIAYL5CSW4KCMYKHYIMNMTRUORD5ANCNFSM4NO54CGQ>. >
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3737