Certain characters are incorrectly escaped when rendering custom links #7950

Closed
opened 2025-12-29 20:30:24 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Apr 26, 2023).

NetBox version

v3.4.9

Python version

3.8

Steps to Reproduce

  1. Create a custom link with the URL http://example.com/?foo=1&bar=2
  2. View an object where the custom link appears and inspect its source

Expected Behavior

The unmodified URL should be present.

Observed Behavior

The link is incorrectly escaped to http://example.com/?foo%3D1&bar%3D2. This is a regression resulting from 89fa546a14.

Originally created by @jeremystretch on GitHub (Apr 26, 2023). ### NetBox version v3.4.9 ### Python version 3.8 ### Steps to Reproduce 1. Create a custom link with the URL `http://example.com/?foo=1&bar=2` 2. View an object where the custom link appears and inspect its source ### Expected Behavior The unmodified URL should be present. ### Observed Behavior The link is incorrectly escaped to `http://example.com/?foo%3D1&bar%3D2`. This is a regression resulting from 89fa546a1481e56d14cfc4d666a55482b0c85fd1.
adam added the type: bugstatus: accepted labels 2025-12-29 20:30:24 +01:00
adam closed this issue 2025-12-29 20:30:24 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7950