Skip to content

Commit

Permalink
Typo correction
Browse files Browse the repository at this point in the history
  • Loading branch information
llemeurfr committed Jan 2, 2024
1 parent e0d4074 commit 1b53e44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pack/pack.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b53e44

Please sign in to comment.