From 1b53e44a05fe95b882c05292587bd0290c5e00b6 Mon Sep 17 00:00:00 2001 From: Laurent Le Meur Date: Tue, 2 Jan 2024 16:08:38 +0100 Subject: [PATCH] Typo correction --- pack/pack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pack/pack.go b/pack/pack.go index 4bccb5db..9fd28be6 100644 --- a/pack/pack.go +++ b/pack/pack.go @@ -229,7 +229,7 @@ func encryptEPUBResource(compressor *flate.Writer, compress bool, encrypter cryp data.KeyInfo.RetrievalMethod.URI = "license.lcpl#/encryption/content_key" data.KeyInfo.RetrievalMethod.Type = "http://readium.org/2014/01/lcp#EncryptedContentKey" - // espace the path before using it as a uri + // escape the path before using it as a uri data.CipherData.CipherReference.URI = xmlenc.URI(xmlenc.ResourcePathEscape(file.Path)) // declare to the reading software that the content is compressed before encryption