mutt_sanitize_filename (pvalue);
mutt_sanitize_filename (pvalue, 0);
int rfc1524_expand_command (BODY *a, char *_filename, char *_type,    char *command, int clen){  int x=0,y=0;  int needspipe = TRUE;  char buf[LONG_STRING];  char filename[_POSIX_PATH_MAX];  char type[LONG_STRING];    strfcpy (filename, _filename, sizeof (filename));  strfcpy (type, _type, sizeof (type));    if (option (OPTMAILCAPSANITIZE))  {    mutt_sanitize_filename (filename);    mutt_sanitize_filename (type);  }    while (command[x] && x<clen && y<sizeof(buf))   {    if (command[x] == '\\') {      x++;      buf[y++] = command[x++];    }    else if (command[x] == '%')     {      x++;      if (command[x] == '{')       {	char param[STRING];	char pvalue[STRING];	char *_pvalue;	int z = 0;	x++;	while (command[x] && command[x] != '}' && z<sizeof(param))	  param[z++] = command[x++];	param[z] = '\0';		_pvalue = mutt_get_parameter (param, a->parameter);	strfcpy (pvalue, NONULL(_pvalue), sizeof (pvalue));	if (option (OPTMAILCAPSANITIZE))	  mutt_sanitize_filename (pvalue);		y += mutt_quote_filename (buf + y, sizeof (buf) - y, pvalue);      }      else if (command[x] == 's' && filename != NULL)      {	y += mutt_quote_filename (buf + y, sizeof (buf) - y, filename);	needspipe = FALSE;      }      else if (command[x] == 't')      {	y += mutt_quote_filename (buf + y, sizeof (buf) - y, type);      }      x++;    }    else      buf[y++] = command[x++];  }  buf[y] = '\0';  strfcpy (command, buf, clen);  return needspipe;}