Index: filed.c ================================================================== --- filed.c +++ filed.c @@ -659,11 +659,12 @@ *buffer = '\0'; buffer++; path = buffer; - buffer = strchr(buffer, ' '); + /* Terminate path component */ + buffer = strstr(buffer, "\r\n "); if (buffer != NULL) { *buffer = '\0'; buffer++; }