Commit Graph

4 Commits

Author SHA1 Message Date
kingecg 6fd9f32f9c ```
feat(vscode): add Daemon debug configuration

Add a new debug configuration for Daemon mode in VS Code launch settings
to facilitate debugging with specific environment variables and flags.

fix(config): use filepath.Dir for config path resolution

Change from assigning raw config path to using filepath.Dir to get the
directory of the config file, ensuring proper directory handling.

refactor(filehandler): improve file access security and directory handling

Improve security checks by using Lstat instead of Mode check for symlinks,
enhance directory handling when URL ends with "/" to prevent path traversal
errors, and refine path resolution logic to properly handle root directory
cases.

fix(config): disable SSL and update example root path

Disable SSL for teststatic server configuration and update root path
from relative "./example" to "../example" for proper example directory access.
```

Co-authored-by: Copilot <copilot@github.com>
2026-07-11 08:50:00 +08:00
程广 5fdb7de83d add mime 2025-04-14 17:35:12 +08:00
kingecg 7f32c1a38f fix REST api 2023-12-13 21:09:01 +08:00
程广 8d943ce89a fix normalize bug 2023-12-13 10:59:47 +08:00