Fix build blockers and rewrite README with authorized-use warning.
Restore server/agent compile fixes, wire remote actions end-to-end, harden run.bat, and document AetherForge with a severity-ranked audit in PROBLEMS.md.
This commit is contained in:
@@ -203,6 +203,8 @@ func sanitizeFilename(name string) string {
|
||||
// Trim spaces and dots
|
||||
name = strings.TrimSpace(name)
|
||||
name = strings.Trim(name, ".")
|
||||
// Prevent explicit traversal sequences
|
||||
name = strings.ReplaceAll(name, "..", "")
|
||||
// Limit length
|
||||
if len(name) > 100 {
|
||||
name = name[:100]
|
||||
|
||||
Reference in New Issue
Block a user