|
|
7135e681f8
|
Fix sanitize_filename consistency, add scanner server tests, remove stray file
- Unify sanitize_filename (organizer) and _sanitize_name (ripper): both now use
whitelist approach — spaces→underscore, keep \w and hyphens, remove everything
else (brackets, punctuation, commas, dots, …). _sanitize_name removed from
ripper.py; ripper now imports sanitize_filename from organizer directly.
- Add tests/test_scanner_server.py: 15 tests covering HTTP GET/POST handlers,
image upload queue, 404/400 error paths, _get_local_ip fallback, print_qr
graceful degradation without qrcode installed.
- Delete empty stray file '3' from repo root.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-02-19 14:20:03 +01:00 |
|