Some listings would stop after first version had been processed on windows, since for example mytls/testbucket/trace.json != mytls\testbucket\trace.json would cause mc undo to only see one version, since this would fail.
Use getStandardizedURL for both sides of these compares.
How to test this PR?
Used mc undo --last=1 myminio/testbucket/trace.json.
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
Description
Some listings would stop after first version had been processed on windows, since for example
mytls/testbucket/trace.json
!=mytls\testbucket\trace.json
would causemc undo
to only see one version, since this would fail.Use
getStandardizedURL
for both sides of these compares.How to test this PR?
Used
mc undo --last=1 myminio/testbucket/trace.json
.Types of changes