liteFM fixes
This commit is contained in:
parent
b9727fdfa7
commit
751874ea8c
5 changed files with 280 additions and 84 deletions
|
|
@ -26,12 +26,23 @@ In-panel file manager and file editor for customer server homes.
|
|||
- remote file listings
|
||||
- read/write operations
|
||||
|
||||
Current listing flow uses `remote_dirlistfm`, where agent filenames are treated as exact values and preserved by the Panel.
|
||||
|
||||
## User Workflow
|
||||
|
||||
- browse files
|
||||
- upload/download
|
||||
- edit common configs
|
||||
|
||||
Special-character names are supported end-to-end in browse/navigation/actions, including:
|
||||
|
||||
- `@3739421199`
|
||||
- `@CF`
|
||||
- `My Mod Folder`
|
||||
- `[Server] Configs`
|
||||
- `profile.backup`
|
||||
- `mod+keys`
|
||||
|
||||
## Admin Workflow
|
||||
|
||||
- set file management permissions
|
||||
|
|
@ -43,9 +54,22 @@ In-panel file manager and file editor for customer server homes.
|
|||
- protected control files
|
||||
- shared secret exposure
|
||||
|
||||
Path safety model:
|
||||
|
||||
- Preserve exact filename display and action values (no destructive filename stripping).
|
||||
- Escape output for HTML rendering only.
|
||||
- Encode filename tokens in links using `rawurlencode`; decode with `rawurldecode`.
|
||||
- Reject invalid path components (`..`, path separators, NUL byte).
|
||||
- Normalize relative paths and verify final resolved paths remain inside the assigned game home.
|
||||
- Distinguish user-facing errors:
|
||||
- `Server files have not been installed yet.` (home missing)
|
||||
- `Directory not found: <relative path>` (missing subdirectory)
|
||||
- `Directory exists but cannot be opened. Check permissions.` (listing/access failure)
|
||||
- `Path decode failed` (invalid filename token)
|
||||
|
||||
## Known Issues
|
||||
|
||||
- should be hardened around safe roots and backups
|
||||
- very large uploads/downloads still depend on chunking/browser limits
|
||||
|
||||
## Missing Functionality
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue