From 3716094be0949d4e72c966a6badea934f4caa7b6 Mon Sep 17 00:00:00 2001 From: chrisz Date: Fri, 22 Aug 2003 23:09:40 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=2182 --- lib/util.C | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/util.C b/lib/util.C index e9ec4438af..f2577ef147 100755 --- a/lib/util.C +++ b/lib/util.C @@ -349,17 +349,9 @@ void escape_url_readable(char *in, char* out) { if (isalnum(in[x]) || in[x]=='.' || in[x]=='-' || in[x]=='_') { out[y] = in[x]; ++y; - } else if (in[x] == '/' || in[x] == '\\' || in[x] == ' ') { + } else { out[y] = '_'; ++y; - } else { - out[y] = '%'; - ++y; - out[y] = 0; - sprintf(buf, "%d", (char)in[x]); - c2x(buf); - strcat(out, buf); - y += 2; } } out[y] = 0;