mirror of https://github.com/BOINC/boinc.git
file_names no longer escapes . in url's to be more compliant with php standards
svn path=/trunk/boinc/; revision=240
This commit is contained in:
parent
48de731577
commit
f7aa0425e4
|
@ -64,7 +64,7 @@ static void escape_url(char *in, char* out) {
|
||||||
fprintf(stderr, "error: escape_url: unexpected NULL pointer out\n");
|
fprintf(stderr, "error: escape_url: unexpected NULL pointer out\n");
|
||||||
}
|
}
|
||||||
for (x=0, y=0; in[x]; ++x) {
|
for (x=0, y=0; in[x]; ++x) {
|
||||||
if (isalnum(in[x])) {
|
if (isalnum(in[x]) || in[x]=='.') {
|
||||||
out[y] = in[x];
|
out[y] = in[x];
|
||||||
++y;
|
++y;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue