tiny_httpd/src/unix
Simon Cruanes 8050fb1f05 fix: use realpath to validate filesystem paths against traversal
- Add string_prefix helper to check path containment
- Compute root_canonical once per add_vfs_ call
- Use realpath only for filesystem (on_fs=true), keeping simple
  contains_dot_dot check for VFS
- Paths are already URL-decoded by Route.rest_of_path_urlencoded
2026-02-09 03:48:42 +00:00
..
dir.ml fix: use realpath to validate filesystem paths against traversal 2026-02-09 03:48:42 +00:00
dir.mli refactor the rest 2024-02-26 13:55:20 -05:00
dune format 2024-08-15 09:18:15 -04:00
mime_.dummy.ml refactor the rest 2024-02-26 13:55:20 -05:00
mime_.magic.ml refactor the rest 2024-02-26 13:55:20 -05:00
mime_.mli format 2024-08-15 09:18:15 -04:00
sem.ml refactor the rest 2024-02-26 13:55:20 -05:00
tiny_httpd_unix.ml format 2024-08-15 09:18:15 -04:00