--- api.c Sat Nov 9 20:06:30 2002 +++ api.patch.c Sat Nov 9 20:05:33 2002 @@ -867,7 +867,7 @@ httpContent *entry; server->response.responseLength = 0; - strcpy(dirName, httpdRequestPath(server)); + strncpy(dirName, httpdRequestPath(server), HTTP_MAX_URL); cp = rindex(dirName, '/'); if (cp == NULL) {