Files
xamxam/TODO.md
Pontoporeia 98ed83fac2 fix: scoped HTMX file validation, add validation to TFE/PeerTube inputs
- Wrap file-field.php validation in <form> to scope hx-include (fixes
  cross-field contamination where cover change triggered note_intention
  validation)
- Add inline MIME/size validation to upload-tfe-file.php
- Add inline validation to PeerTube video/audio and direct video/audio
  file inputs in format-extras-block
- Fallback in validate-file-fragment-shared.php: if field_name doesn't
  match any $_FILES key, try the first uploaded file (handles
  PeerTube inputs where name differs from field_name)
- Fix file-field.php admin_mode using $adminMode variable instead of
  undefined ADMIN_MODE constant
2026-05-19 00:08:05 +02:00

8 lines
457 B
Markdown

# TODO
- [x] Fix cross-field validation contamination — wrap file-field.php in <form> to scope hx-include
- [x] Add inline MIME/size validation to upload-tfe-file.php
- [x] Add inline validation wrappers to PeerTube video/audio and direct video/audio inputs
- [x] Fix validator fallback: if field_name key missing in $_FILES, try first available file
- [x] Fix file-field.php admin_mode using $adminMode variable instead of undefined ADMIN_MODE constant