Bug #63221
ressource site, ValueError: embedded null byte
Début:
26 mars 2022
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/54894/
ValueError: embedded null byte (5 additional frame(s) were not displayed) ... File "django/views/generic/base.py", line 97, in dispatch return handler(request, *args, **kwargs) File "django/views/generic/edit.py", line 142, in post return self.form_valid(form) File "combo/apps/assets/views.py", line 208, in form_valid default_storage.delete(img_orig) File "django/core/files/storage.py", line 307, in delete if os.path.isdir(name): File "genericpath.py", line 42, in isdir st = os.stat(s)
(audit qui est allé mettre n'importe quoi)
Fichiers
Révisions associées
Historique
Mis à jour par Lauréline Guérin il y a environ 2 ans
- Fichier 0001-assets-fix-delete-and-overwrite-with-bad-filename-63.patch 0001-assets-fix-delete-and-overwrite-with-bad-filename-63.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Thomas Noël il y a environ 2 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Lauréline Guérin il y a environ 2 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 17742635e595e9de899087bf73c6a27209dc6a74 Author: Lauréline Guérin <zebuline@entrouvert.com> Date: Tue Mar 29 10:12:51 2022 +0200 assets: fix delete and overwrite with bad filename (#63221)
Mis à jour par Transition automatique il y a environ 2 ans
- Statut changé de Résolu (à déployer) à Solution déployée
assets: fix delete and overwrite with bad filename (#63221)