Opened 18 months ago
Closed 18 months ago
#1050 closed defect (fixed)
sysLocation field in snmp is too restrictive
| Reported by: | gcooper | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | GUI | Version: | 8.0.2-RELEASE |
| Keywords: | Cc: |
Description
According to the SNMPv2-MIB, the following input is accepted for the sysLocation OID:
sysLocation OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The physical location of this node (e.g., `telephone
closet, 3rd floor'). If the location is unknown, the value
is the zero-length string."
::= { System 6 }
i.e. a free-form textual string. The current code is blacklisting all \W ([A-Za-z0-9_]) class of characters.
Change History (2)
comment:1 Changed 18 months ago by gcooper
comment:2 Changed 18 months ago by william
- Resolution set to fixed
- Status changed from new to closed
Fixed in r8882
Note: See
TracTickets for help on using
tickets.

The description above should say ([^A-Za-z0-9_]) .