Revision 7bbe4333
ID | 7bbe433357b2adc93870bc761b87b6c04af17248 |
cyclades: Catch exception in verify_personality
The verify_personality function assumes that the contents of a
personality is encoded in base64 and tries to decode them. But if the
client didn't encode them a TypeError `Incorrect padding' will be
raised. Catch this exception and raise a BadRequest.
Files
- added
- modified
- copied
- renamed
- deleted