Skip to content

server: collection: Use ascii_alphanumeric#442

Merged
bilelmoussaoui merged 3 commits into
linux-credentials:mainfrom
A6GibKm:sanitize
Mar 29, 2026
Merged

server: collection: Use ascii_alphanumeric#442
bilelmoussaoui merged 3 commits into
linux-credentials:mainfrom
A6GibKm:sanitize

Conversation

@A6GibKm

@A6GibKm A6GibKm commented Mar 29, 2026

Copy link
Copy Markdown
Collaborator

When sanitizing. As per the DBus spec 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.

A6GibKm added 3 commits March 29, 2026 17:44
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-path
@bilelmoussaoui bilelmoussaoui merged commit b6c0ba7 into linux-credentials:main Mar 29, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants