mirror of
https://github.com/systemd/systemd.git
synced 2025-01-12 13:18:14 +03:00
add ',' to trusted chars
SGI needs it for some compatibility device names from irix, xvm volumes use "volname,subvolname" as the default device node.
This commit is contained in:
parent
0d5be398ff
commit
8a37a3915f
@ -241,7 +241,7 @@ int replace_untrusted_chars(char *str)
|
||||
if ((str[i] >= '0' && str[i] <= '9') ||
|
||||
(str[i] >= 'A' && str[i] <= 'Z') ||
|
||||
(str[i] >= 'a' && str[i] <= 'z') ||
|
||||
strchr(" #$%+-./:=?@_", str[i])) {
|
||||
strchr(" #$%+-./:=?@_,", str[i])) {
|
||||
i++;
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user