cricket runs eval on config that contains curly braces

Bug #1137799 reported by John-Magne Bredal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Network Administration Visualized
Fix Released
High
John-Magne Bredal

Bug Description

Excerpt from mail conversation with Istvan:

"""
root@nav:/etc/nav/cricket-config# grep "ch45 2.2.18" */*/*
ipv6-interfaces/****/navTargets: short-desc = "dotSRC {ch45 2.2.18/1} [Cust]"
router-interfaces/****/navTargets: short-desc = "dotSRC {ch45 2.2.18/1} [Cust]"

Can it be that the "{..}" combination in the comment field
results in some funny behaviour?
"""

And indeed it is. Cricket is running eval on anything that is inside curly braces.

Revision history for this message
John-Magne Bredal (john-m-bredal) wrote :

We fix this by replacing curly braces with the html entity equivalents { and }

Changed in nav:
importance: Undecided → High
assignee: nobody → John-Magne Bredal (john-m-bredal)
milestone: none → 3.13.2
status: New → Confirmed
Revision history for this message
John-Magne Bredal (john-m-bredal) wrote :
Changed in nav:
status: Confirmed → Fix Committed
Changed in nav:
milestone: 3.13.2 → 3.14.1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.