diff --git a/ChangeLog b/ChangeLog index 9f995667..4a8cfd32 100644 --- a/ChangeLog +++ b/ChangeLog @@ -24830,3 +24830,6 @@ in the middle of a segue. 2024-07-10 Fred Gleason * Incremented the package version to 4.3.0int1. +2024-08-07 Fred Gleason + * Fixed a bug in rdimport(1) that caused filename corruption when + processing input filenames containing the '[' character. diff --git a/utils/rdimport/rdimport.cpp b/utils/rdimport/rdimport.cpp index 4057f414..3f24060c 100644 --- a/utils/rdimport/rdimport.cpp +++ b/utils/rdimport/rdimport.cpp @@ -1059,7 +1059,7 @@ void MainObject::ProcessFileEntry(const QString &entry) } globbuf.gl_offs=RDIMPORT_GLOB_SIZE; while((globbuf.gl_pathc==RDIMPORT_GLOB_SIZE)||(gflags==GLOB_MARK)) { - glob(RDEscapeString(entry).toUtf8(),gflags,NULL,&globbuf); + glob(entry.toUtf8(),gflags,NULL,&globbuf); if((globbuf.gl_pathc==0)&&(gflags==GLOB_MARK)&&(!import_drop_box)) { Log(LOG_WARNING,QString::asprintf(" Unable to open \"%s\", skipping...\n", entry.toUtf8().constData()));