mirror of
https://github.com/marcoallegretti/WEFT_OS.git
synced 2026-11-22 08:13:59 +00:00
Path parsing drops '.' components, empty components and a trailing '/'. A request like dir/. was therefore accepted, and a write renamed over the directory itself instead of failing. The path text is now checked as given. Other fixes: - A replaced file keeps its permission bits. - A connection's slot is released even when its handler panics. - Connections close after 60 seconds without a request. - Temporary files get unique names and are not listed. - A request of exactly the line limit is accepted. A new test swaps a link between a directory inside the granted root and one outside while reads and writes run, and checks that nothing outside is read or written. weft-appd no longer sets WEFT_FILE_PORTAL_SOCKET for the runtime, which no longer reads it. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||