Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ObjectPath allows characters that are disallowed in the spec #125

Open
Cobinja opened this issue Nov 24, 2024 · 1 comment
Open

ObjectPath allows characters that are disallowed in the spec #125

Cobinja opened this issue Nov 24, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@Cobinja
Copy link

Cobinja commented Nov 24, 2024

According to https://dbus.freedesktop.org/doc/dbus-specification.html#basic-types, object path elements must only contain the ASCII characters a-z, A-Z, 0-9 and _

https://github.com/KillingSpark/rustbus/blob/master/rustbus/src/params/validation.rs#L57 uses is_alphanumeric(), which also covers various other characters such as german umlauts ä, ö and ü.

@KillingSpark
Copy link
Owner

Huh that's true. I guess it should be "is_ascii" instead.

@KillingSpark KillingSpark added the good first issue Good for newcomers label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants