Custom Vehicle Data Name + Key Field Disallowed Characters
crokita opened this issue · 0 comments
crokita commented
Bug Report
There are certain characters that sdl_core will not accept in custom vehicle data name and key fields, defined here: https://github.com/smartdevicelink/sdl_core/blob/65947fd1eb30a392948d67003df0fe803c070c6b/src/components/policy/policy_regular/src/policy_table/types.cc#L1997
The UI should at least sanitize these name and key fields or prevent saving a vehicle data item with these forbidden characters
Reproduction Steps
- Add a new custom vehicle data item
- Include a space, or
!@#$%^&*
characters in the name and key fields - Save
Expected Behavior
The vehicle data item cannot be saved due to disallowed characters
Observed Behavior
The vehicle data item is saved
OS, Browser & Version Information
Found on 3.0.1. Bug should have existed since 2.8.0