Sanitize strings that we get from the cloud backends
This commit is contained in:
parent
5beee43d49
commit
29193e306f
6 changed files with 112 additions and 27 deletions
|
|
@ -259,7 +259,7 @@ xml_char_data(void *data, const char *s, int len)
|
|||
off_t off = 0;
|
||||
|
||||
for (i = 0; i < len && s[i] != '\0'; i++) {
|
||||
if (!isspace(s[i])) {
|
||||
if (!isspace((unsigned char)s[i])) {
|
||||
ok = 1;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue