Revision c22db8ce
ID | c22db8ce74c7379424d89dec6e28be65b5459a91 |
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