Development #49705
paybox: valider les contenus base64 (était "Error: Invalid base64-encoded string: number of data characters (169) cannot be 1 more than a multiple of 4")
Début:
22 décembre 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/26485/
Error: Invalid base64-encoded string: number of data characters (169) cannot be 1 more than a multiple of 4 (8 additional frame(s) were not displayed) ... File "combo/apps/lingo/views.py", line 751, in handle_return request, backend_response, payment_extra_info=payment_extra_info, **kwargs File "combo/apps/lingo/views.py", line 600, in handle_response payment_response = payment.response(backend_response, **extra_info) File "__init__.py", line 203, in response return self.backend.response(query_string, **kwargs) File "eopayment/paybox.py", line 378, in response sig = base64.b64decode(sig) File "base64.py", line 87, in b64decode return binascii.a2b_base64(s)
Fichiers
Révisions associées
Historique
Mis à jour par Lauréline Guérin il y a plus de 3 ans
- Projet changé de Suivi des traces à EOPayment
Mis à jour par Benjamin Dauvergne il y a environ 3 ans
- Sujet changé de Error: Invalid base64-encoded string: number of data characters (169) cannot be 1 more than a multiple of 4 à paybox: valider les contenus base64 (était "Error: Invalid base64-encoded string: number of data characters (169) cannot be 1 more than a multiple of 4")
- Assigné à
Benjamin Dauvergnesupprimé
Mis à jour par Benjamin Dauvergne il y a environ 3 ans
- Fichier 0001-paybox-raise-ResponseError-on-malformed-signatures-4.patch 0001-paybox-raise-ResponseError-on-malformed-signatures-4.patch ajouté
- Tracker changé de Bug à Development
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Valentin Deniaud il y a environ 3 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Benjamin Dauvergne il y a environ 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 28750dd148a64404f47f137bfd83b093684c5277 Author: Benjamin Dauvergne <bdauvergne@entrouvert.com> Date: Thu Mar 11 12:53:24 2021 +0100 paybox: raise ResponseError on malformed signatures (#49705)
Mis à jour par Frédéric Péters il y a environ 3 ans
- Statut changé de Résolu (à déployer) à Solution déployée
paybox: raise ResponseError on malformed signatures (#49705)