summaryrefslogtreecommitdiff
path: root/udev_utils_string.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev_utils_string.c')
-rw-r--r--udev_utils_string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_utils_string.c b/udev_utils_string.c
index 36ef8bef7e..5aebfed523 100644
--- a/udev_utils_string.c
+++ b/udev_utils_string.c
@@ -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;
}