gestion_table_tournante_libre/scripts
Mathieu Benoit 82e57f47df [FIX] web storage: refuse a name Chromium did not convert, UTF-8 launch
Under a non-UTF-8 locale, Chromium returns the parent folder for an
accented folder name without raising, so a write meant for that folder
replaced a file of the same name in its parent. Each step of a path walk
now compares the handle with its parent and refuses NOM_NON_CONVERTI —
LECTURE on reads, ECRITURE on writes — and nothing lands elsewhere. The
test launcher gives Chromium LANG=C.UTF-8 when the locale is not UTF-8, as
the containers do, and the matrix installs ps where an image lacks it.
Checked: 1776 node and 45 browser tests; the guard holds under LC_ALL=C.

--- FR ---

[FIX] stockage web : refuser un nom non converti, lancement en UTF-8

Hors locale UTF-8, Chromium rend le dossier parent pour un nom de dossier
accentué, sans lever : une écriture destinée à ce dossier remplaçait un
fichier homonyme de son parent. Chaque pas d'un chemin compare désormais le
dossier obtenu à son parent et refuse NOM_NON_CONVERTI — LECTURE en lecture,
ECRITURE en écriture — : rien n'atterrit ailleurs. Le lanceur des épreuves
donne LANG=C.UTF-8 à Chromium quand la locale n'est pas UTF-8, comme les
conteneurs, et la matrice installe ps là où une image en manque.
Vérifié : 1776 node, 45 navigateur ; la garde tient sous LC_ALL=C.

Assisted-by: Claude Opus 5.5
2026-10-07 02:35:12 -04:00
..
installation [ADD] install: Node 26 and system packages, per family and under Nix 2026-10-06 05:52:05 -04:00
oracle [ADD] prng: PCG32 checked against the reference C implementation 2026-10-05 17:27:06 -04:00
windows [ADD] scripts: Windows install and run through PowerShell 5.1 2026-10-06 05:51:31 -04:00
construire_windows.sh [ADD] electron: own shell, portable Windows exe built under podman 2026-10-05 13:13:32 -04:00
construire_windows.test.js [ADD] install: Node 26 and system packages, per family and under Nix 2026-10-06 05:52:05 -04:00
engendrer_livrables.js [ADD] demo: delivered event files, example CSVs, payload fingerprint 2026-10-06 17:03:15 -04:00
engendrer_livrables.test.js [ADD] demo: delivered event files, example CSVs, payload fingerprint 2026-10-06 17:03:15 -04:00
essai_demarrage.js [ADD] run: make and ./run.sh, Electron start check, container matrix 2026-10-06 05:52:17 -04:00
verifier_systemes.sh [FIX] web storage: refuse a name Chromium did not convert, UTF-8 launch 2026-10-07 02:35:12 -04:00
version.js [ADD] demo: delivered event files, example CSVs, payload fingerprint 2026-10-06 17:03:15 -04:00
version.test.js [ADD] demo: delivered event files, example CSVs, payload fingerprint 2026-10-06 17:03:15 -04:00