strcat(result, wwwName(Home_Dir()));
strcat(result, cp2);
PUBLIC BOOLEAN LYValidateFilename ARGS2(	char *,		result,	char *,		given){    char *cp;    /*     *  Cancel if the user entered "/dev/null" on Unix,     *  or an "nl:" path (case-insensitive) on VMS. - FM     */#ifdef VMS    if (!strncasecomp(given, "nl:", 3) ||	!strncasecomp(given, "/nl/", 4))#else    if (!strcmp(given, "/dev/null"))#endif /* VMS */    {	/* just ignore it */	return FALSE;    }#if HAVE_POPEN    if (LYIsPipeCommand(given)) {	if (no_shell) {	    HTUserMsg(SPAWNING_DISABLED);	    return FALSE;	}	strcpy(result, given);	return TRUE;    }#endif    if ((cp = strchr(given, '~'))) {	*(cp++) = '\0';	strcpy(result, given);	LYTrimPathSep(result);	strcat(result, wwwName(Home_Dir()));	strcat(result, cp);	strcpy(given, result);    }#ifdef VMS    if (strchr(given, '/') != NULL) {	strcpy(result, HTVMS_name("", given));	strcpy(given, result);    }    if (given[0] != '/' && strchr(given, ':') == NULL) {	strcpy(result, "sys$disk:");	if (strchr(given, ']') == NULL)	    strcat(result, "[]");	strcat(result, given);    } else {	strcpy(result, given);    }#else#ifndef __EMX__    if (!LYIsPathSep(*given)) {#if defined(__DJGPP__) || defined(_WINDOWS)    if (strchr(result, ':') != NULL)	cp = NULL;    else#endif /*  __DJGPP__ || _WINDOWS */	cp = original_dir;    }    else#endif /* __EMX__*/	cp = NULL;    if (cp) {	LYTrimPathSep(cp);	sprintf(result, "%s/%s", cp, HTSYS_name(given));    } else {	strcpy(result, HTSYS_name(given));    }#endif /* VMS */    return TRUE;}