Fix inconsistent sanitation with the database #32

Merged
jordan merged 2 commits from lda/Cytoplasm:fix-sanitation into master 2024-05-26 16:31:15 -04:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit de24e5f436 - Show all commits

View File

@ -240,7 +240,7 @@ DbDirName(Db * db, Array * args, size_t strip)
for (i = 0; i < ArraySize(args) - strip; i++)
{
char *tmp;
char *sanitise = ArrayGet(args, i);
char *sanitise = StrDuplicate(ArrayGet(args, i));
for (j = 0; j < strlen(sanitise); j++)
{
sanitise[j] = DbSanitiseChar(sanitise[j]);