You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…oved by cp (#456)
The cause of problem is a little bit weird.
(url).SetRelative method was given the source (abs.) path as it was provided in command line arguments including the wildcard characters(* and ?). Hence it determined relative path incorrectly, where "expected" relative path became "../expected" which in turn caused the some part of destination to be lost (since path/filepath.Join converts e.g. /a/b/../c to /a/c)
We also need to identify whether the * and ? characters present in base strings are part of key or they are used for wildcard operation. So we need to know if the "raw" flag is given. To. solve this I changed (URL).SetRelative method to take argument of type URL rather than string.
Fixes#360
Co-authored-by: Selman Kayrancioglu <[email protected]>
Co-authored-by: Aykut Farsak <[email protected]>
Co-authored-by: Muhammed Can Küçükaslan <[email protected]>
Repository owner
moved this from In Progress
to Done
in s5cmdJul 22, 2022
I have run into the following strange behavior (on 1.4.0):
For some reason target does not have
folder
.The text was updated successfully, but these errors were encountered: