--- server/util.c (revision 574932) +++ server/util.c (working copy) @@ -1617,6 +1617,12 @@ if (decoded == '\0') { badpath = 1; } + if ((decoded == '/') || (decoded == '\\')) { + int j; + for (j=0; j<3; ++j) { + *x++ = *y++; + } + } else { *x = decoded; y += 2;