Commit c2bfb63
committed
server: collection: Use ascii_alphanumeric
When sanitizing. As per the DBus spec [1] a path can only contain
[a-zA-Z0-9_].
Note that any such error would have been caught by OwnedPath::try_from,
but this allows more labels to be sanitized before they error out.
[1] https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-marshaling-object-path1 parent cf7b9a9 commit c2bfb63
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
| 397 | + | |
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
| |||
0 commit comments