jomo bba004acc7 improve URL parsing
uses `new URL()` and `decodeURI()` instead of `url.parse()`
also checks that the requested file is in a subdirectory of `public/` before serving the file

fixes path traversal vulnerability GHSA-5cxq-25mp-q5f2
2024-02-01 22:24:29 +01:00
..
2024-02-01 22:24:29 +01:00
2024-02-01 22:24:29 +01:00
2020-03-29 20:13:24 +02:00
2024-02-01 22:24:29 +01:00
2024-02-01 22:24:29 +01:00