oxidized
oxidized copied to clipboard
sonicos: remove inefficient regular expression
Pre-Request Checklist
- [X] Passes rubocop code analysis (try
rubocop --auto-correct) - [X] Tests added or adapted (try
rake test) - [ ] Changes are reflected in the documentation
- [X] User-visible changes appended to CHANGELOG.md
Description
This PR works on Issue #3513 to fixes the code scanning alert https://github.com/ytti/oxidized/security/code-scanning/4 and https://github.com/ytti/oxidized/security/code-scanning/11 for the sonicos model.
@lazynooblet : could you test if this PR does not change anything on your devices? I have no YAML Simulation File to test the change properly, but I created one from the information I could gather.