Activates the decryption for all types of files if it matches the decryption url with the cipher info
This commit is contained in:
+3
-3
@@ -33,9 +33,9 @@ class EncryptedBlobInterceptor(
|
|||||||
val body = peekBody(Long.MAX_VALUE)
|
val body = peekBody(Long.MAX_VALUE)
|
||||||
|
|
||||||
// Only tries to decrypt if the content-type is a byte array
|
// Only tries to decrypt if the content-type is a byte array
|
||||||
if (body.contentType().toString() != "application/octet-stream") {
|
// if (body.contentType().toString() != "application/octet-stream") {
|
||||||
return null
|
// return null
|
||||||
}
|
// }
|
||||||
|
|
||||||
val bytes = body.bytes()
|
val bytes = body.bytes()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user