« Previous | Next » 

Revision 7bbe4333


Added by Ilias Tsitsimpis about 10 years ago

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.


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences