Development #32088
utils.conversion.to_pdf: gérer les PDF qui commencent par un BOM
Début:
08 avril 2019
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Description
Un fichier PDF peut commencer par un BOM, genre « <U+FEFF>%PDF-1.3 » et cela n'est pas pris en charge par to_pdf qui ne teste que « content.startswith('%PDF') »
Fichiers
Révisions associées
Historique
Mis à jour par Benjamin Dauvergne il y a environ 5 ans
Ce serait interdit1, mais ça arrive, monde de merde.
1 https://stackoverflow.com/questions/33152615/are-byte-order-marks-allowed-in-pdf-document
Mis à jour par Thomas Noël il y a environ 5 ans
- Fichier 0001-to_pdf-detect-PDF-with-BOM-prefix-32088.patch 0001-to_pdf-detect-PDF-with-BOM-prefix-32088.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Benjamin Dauvergne il y a environ 5 ans
- Statut changé de Solution proposée à Solution validée
- Assigné à mis à Thomas Noël
Mis à jour par Thomas Noël il y a environ 5 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit b00b070523c017b7af1eb24faf1ff5c9294a916c Author: Thomas NOEL <tnoel@entrouvert.com> Date: Mon Apr 8 16:51:44 2019 +0200 to_pdf: detect PDF with BOM prefix (#32088)
Mis à jour par Serghei Mihai il y a environ 5 ans
- Statut changé de Résolu (à déployer) à Solution déployée
Mis à jour par Benjamin Dauvergne il y a environ 5 ans
- Statut changé de Solution déployée à Fermé
to_pdf: detect PDF with BOM prefix (#32088)