Use a MIME Base64 decoder for provisioning messages
This commit is contained in:
parent
98e41f9a37
commit
02a296e500
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue