SHA1 Case issue
henrybear327 opened this issue · comments
Chun-Hung Tseng commented
Tom Raganowicz commented
I was wondering if solution mentioned here: rclone/rclone#7345 (comment)
Replace:
https://github.com/rclone/rclone/blob/master/fs/operations/operations.go#L119
return srcHash == dstHash, ht, srcHash, dstHash, nil
with
return strings.ToUpper(srcHash) == strings.ToUpper(dstHash), ht, srcHash, dstHash, nil
solves this problem?
Tom Raganowicz commented
I've created pull request: #27 but given that I couldn't exactly reproduce this issue (no idea in which case Proton would return uppercase SHA1 instead of lowercased one) it is somewhat blind fix.