Skip to content
Commit 6f8bef9f authored by Harald Sitter's avatar Harald Sitter 🐧
Browse files

more aggressively sanitize dbus paths

paths may only contain alpha numeric ascii characters + _ + /. Also
assert the path is well-formed while at it.

```
     The path may be of any length.

     The path must begin with an ASCII '/' (integer 47) character, and
must consist of elements separated by slash characters.

     Each element must only contain the ASCII characters
"[A-Z][a-z][0-9]_"

    No element may be the empty string.

    Multiple '/' characters cannot occur in sequence.

     A trailing '/' character is not allowed unless the path is the root
path (a single '/' character).
```
parent d6807f3e
Pipeline #496270 passed with stage
in 2 minutes and 35 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment