Overview
Comment: | Corrige bug échappement guillemets dans CSV, signalé par @David |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA1: |
f1a23f0f3f77f3edc115f4968a3969ff |
User & Date: | bohwaz on 2018-08-02 03:01:28 |
Other Links: | manifest | tags |
References
2020-12-08
| ||
23:25 | • Wiki page "Changelog/0.9" artifact: b9c916b4d1 user: bohwaz | |
Context
2018-08-02
| ||
03:10 | Corrige problème de signature à l'export coupée par le navigateur, signalé par @David check-in: a79684b861 user: bohwaz tags: trunk, stable | |
03:01 | Corrige bug échappement guillemets dans CSV, signalé par @David check-in: f1a23f0f3f user: bohwaz tags: trunk, stable | |
2018-08-01
| ||
00:22 | Répondre à l'auteur du message, pas à l'adresse FORCE_EMAIL_FROM check-in: 35fcafd94e user: bohwaz tags: trunk, stable | |
Changes
Modified src/include/lib/Garradin/Utils.php from [27ce90a75e] to [4680da7c34].
︙ | ︙ | |||
733 734 735 736 737 738 739 | } } static public function row_to_csv($row) { $row = (array) $row; | | | | 733 734 735 736 737 738 739 740 741 742 743 744 745 746 | } } static public function row_to_csv($row) { $row = (array) $row; array_walk($row, function (&$field) { $field = strtr($field, ['"' => '""', "\r\n" => "\n"]); }); return sprintf("\"%s\"\r\n", implode('","', $row)); } } |