Incorrect display of device configuration (NAPALM) #5114

Closed
opened 2025-12-29 19:24:25 +01:00 by adam · 4 comments
Owner

Originally created by @Ursadon on GitHub (Jul 29, 2021).

NetBox version

v2.11.10

Python version

3.8

Steps to Reproduce

Сreate a device config that contains angle brackets:

radius-server shared-key cipher kdg4jbvmkcbhnb>111111<aaa
some-config-lines 1
some-config-lines 2
some-config-lines 3
snmp-agent community read cipher kdg4jbvmkcbhnb>222222<
some-config-lines 4

Expected Behavior

radius-server shared-key cipher kdg4jbvmkcbhnb>111111<aaa
some-config-lines 1
some-config-lines 2
some-config-lines 3
snmp-agent community read cipher kdg4jbvmkcbhnb>222222<
some-config-lines 4

Observed Behavior

radius-server shared-key cipher kdg4jbvmkcbhnb>111111
222222<
some-config-lines 4
Originally created by @Ursadon on GitHub (Jul 29, 2021). ### NetBox version v2.11.10 ### Python version 3.8 ### Steps to Reproduce Сreate a device config that contains angle brackets: ``` radius-server shared-key cipher kdg4jbvmkcbhnb>111111<aaa some-config-lines 1 some-config-lines 2 some-config-lines 3 snmp-agent community read cipher kdg4jbvmkcbhnb>222222< some-config-lines 4 ``` ### Expected Behavior ``` radius-server shared-key cipher kdg4jbvmkcbhnb>111111<aaa some-config-lines 1 some-config-lines 2 some-config-lines 3 snmp-agent community read cipher kdg4jbvmkcbhnb>222222< some-config-lines 4 ``` ### Observed Behavior ``` radius-server shared-key cipher kdg4jbvmkcbhnb>111111 222222< some-config-lines 4 ```
adam added the type: bugstatus: acceptedbeta labels 2025-12-29 19:24:25 +01:00
adam closed this issue 2025-12-29 19:24:25 +01:00
Author
Owner

@DanSheps commented on GitHub (Jul 30, 2021):

Seems like perhaps it is seeing the HTML tags. I suspect we have to convert from < to the special code.

@DanSheps commented on GitHub (Jul 30, 2021): Seems like perhaps it is seeing the HTML tags. I suspect we have to convert from < to the special code.
Author
Owner

@DanSheps commented on GitHub (Jul 30, 2021):

I will fix this after we release v3.0

@DanSheps commented on GitHub (Jul 30, 2021): I will fix this after we release v3.0
Author
Owner

@jeremystretch commented on GitHub (Jul 30, 2021):

Leaving this open to re-evaluate under v3.0.

@jeremystretch commented on GitHub (Jul 30, 2021): Leaving this open to re-evaluate under v3.0.
Author
Owner

@jeremystretch commented on GitHub (Aug 13, 2021):

Doesn't seem to be a problem under v3.0.

@jeremystretch commented on GitHub (Aug 13, 2021): Doesn't seem to be a problem under v3.0.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5114