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> |
||
|---|---|---|
| .. | ||
| file.go | ||
| proxy.go | ||
| proxyupdater.go | ||
| tcpproxy.go | ||