Use padded base64

master
HimbeerserverDE 2022-04-21 14:55:41 +02:00
parent 2018321cc3
commit b328f4c996
No known key found for this signature in database
GPG Key ID: A3D3E205DA0B0401
1 changed files with 1 additions and 0 deletions

View File

@ -236,6 +236,7 @@ func handleContent(cc *contentConn) {
if pad := len(f.Base64SHA1) % 4; pad != 0 {
cmd.Files[i].Base64SHA1 += strings.Repeat("=", pad)
}
f = cmd.Files[i]
if cc.fromCache(f.Name, f.Base64SHA1) {
break