Skip to content
  • Ilias Tsitsimpis's avatar
    cyclades: Catch exception in verify_personality · b0dd513d
    Ilias Tsitsimpis authored
    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.
    b0dd513d