mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +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;
|
||||
|
||||
for (i = 0; i < (int) strlen(str); i++)
|
||||
if (str[i] == ' ' || str[i] == '.' || str[i] == '/' ||
|
||||
str[i] == '\\' || str[i] == '-' || str[i] == '(' || str[i] == ')')
|
||||
if (!isalnum(str[i]))
|
||||
str[i] = '_';
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user