mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48:12 +00:00
![]() In the web server root directory, ".." has to be handled specially, since everything above it does not exist from the point of view of the user. The most sensible thing to do is to make ".." equal to ".". This is also what ls(1) does for "/" and what "http://localhost/../" evaluates to. This also fixes a bug where stat() would fail on the directory above the root directory, since it hasn't been unveiled for the process. |
||
---|---|---|
.. | ||
Client.cpp | ||
Client.h | ||
CMakeLists.txt | ||
main.cpp |