mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 12:26:47 +00:00
Use a MIME Base64 decoder for provisioning messages
This commit is contained in:
1 parent
98e41f9a37
commit
02a296e500
1 file changed
+1
-1
+1
-1
@@ -47,7 +47,7 @@ public class ProvisioningController {
|
||||
rateLimiters.getMessagesLimiter().validate(auth.getAccount().getUuid());
|
||||
|
||||
if (!provisioningManager.sendProvisioningMessage(new ProvisioningAddress(destinationName, 0),
|
||||
Base64.getDecoder().decode(message.getBody()))) {
|
||||
Base64.getMimeDecoder().decode(message.getBody()))) {
|
||||
throw new WebApplicationException(Response.Status.NOT_FOUND);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user