Development #55360
Ne pas planter sur une absence d'entête Content-Type dans une JSONCell avec des actions de POST
Début:
02 juillet 2021
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
if action_response: response = HttpResponse( action_response.content, content_type=action_response.headers['Content-Type'] <-- ici ) if 'Content-Disposition' in action_response.headers: response['Content-Disposition'] = action_response.headers['Content-Disposition'] return response
https://sentry.entrouvert.org/entrouvert/gplexpert/issues/49442/
Fichiers
Révisions associées
Historique
Mis à jour par Benjamin Dauvergne il y a presque 3 ans
- Fichier 0001-jsoncell-do-not-traceback-if-content-type-is-absent-.patch 0001-jsoncell-do-not-traceback-if-content-type-is-absent-.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Valentin Deniaud il y a presque 3 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Benjamin Dauvergne il y a presque 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit a23696d0478e6a8b5c13a9be66eecaf7854340fc Author: Benjamin Dauvergne <bdauvergne@entrouvert.com> Date: Fri Jul 2 18:02:10 2021 +0200 jsoncell: do not traceback if content-type is absent (#55360)
Mis à jour par Frédéric Péters il y a presque 3 ans
- Statut changé de Résolu (à déployer) à Solution déployée
jsoncell: do not traceback if content-type is absent (#55360)