Add syncback_encoded_names fixture and related tests for encoded name handling

- Introduced a new fixture `syncback_encoded_names` with various scripts and models demonstrating encoded characters in names, including `What%QUESTION%Module` and `Key%COLON%Script`.
- Added tests to validate the correct handling of encoded names during directory conversions, ensuring that the filesystem names match the expected encoded formats.
- Updated `change_processor.rs` and `api.rs` to improve file handling and metadata management related to encoded names, enhancing overall robustness and consistency in operations.
This commit is contained in:
Joe 2026-02-05 21:12:06 -06:00
parent 1edca38c34
commit 9c92204956
8 changed files with 342 additions and 26 deletions

View file

@ -702,8 +702,8 @@ impl JobThreadContext {
.and_then(|s| s.to_str())
.unwrap_or("");
let known_suffixes = [
".server", ".client", ".plugin",
".local", ".legacy",
".server", ".client", ".plugin", ".local",
".legacy",
];
let base = known_suffixes
.iter()