mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-10-01 05:05:19 +00:00
Fixed problem if an attribute contains "?"
SVN revision: 2387
This commit is contained in:
parent
d1d332b8ce
commit
d1e3158039
@ -1220,8 +1220,7 @@ void stou(char *str)
|
|||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < (int) strlen(str); i++)
|
for (i = 0; i < (int) strlen(str); i++)
|
||||||
if (str[i] == ' ' || str[i] == '.' || str[i] == '/' ||
|
if (!isalnum(str[i]))
|
||||||
str[i] == '\\' || str[i] == '-' || str[i] == '(' || str[i] == ')')
|
|
||||||
str[i] = '_';
|
str[i] = '_';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user