Skip to content

Commit

Permalink
don't pass '\' to internal api (#6039)
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-matthewb authored Nov 9, 2024
1 parent c30f7a3 commit 002e180
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package org.labkey.api.assay;

import org.apache.commons.lang3.StringUtils;
import org.jetbrains.annotations.NotNull;
import org.labkey.api.collections.CollectionUtils;
import org.labkey.api.data.Container;
Expand Down Expand Up @@ -173,7 +174,7 @@ private Map<String, FileLike> getFilesFromRequest(ContextType context, Type type
Map<String, FileLike> result = CollectionUtils.enforceValueClass(new LinkedHashMap<>(), FileLike.class);
for (int i = 0; i < paths.length; i++)
{
result.put(names[i], pipelineRoot.resolvePathToFileLike(paths[i]));
result.put(names[i], pipelineRoot.resolvePathToFileLike(StringUtils.replace(paths[i],"\\","/")));
}
return result;
}
Expand Down

0 comments on commit 002e180

Please sign in to comment.