Join GitHub today
fix: Strip " and / from snmpwalk_cache_oid() #7063
DO NOT DELETE THIS TEXT
If you would like to test this pull request then please run:
I've not done any other snmp functions yet but they probably should be done to save trim() being used everywhere.
@murrant I left the old trim in place as that trims the defaults off, if you specify what to trim that doesn't happen anymore does it? I thought it didn't hence adding the new trim.
The / is in the snmpwalk output so seems to be sent back by the device. I've seen this in other walks as well.
@laf the " is because the " is in the string input by the user and the snmp daemon escapes it...
Look at this one:
We can probably update them all to