mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Replace '(' ')' in attribute names for JavaScript checking
SVN revision: 2102
This commit is contained in:
parent
6709066281
commit
d62fd9e66a
@ -1440,7 +1440,8 @@ 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] == '-')
|
||||
if (str[i] == ' ' || str[i] == '.' || str[i] == '/' ||
|
||||
str[i] == '\\' || str[i] == '-' || str[i] == '(' || str[i] == ')')
|
||||
str[i] = '_';
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user