Due to the changes in docker and finding out which ports I have to open I was testing the http_server_test.
Unfortunately it is not working on the host system as __FILE__ has no relativ path (../../test/http_server_test/http_server_test.cpp).
The check in HTTPServer.h (line 234) config.web_root().is_parent_of(search) is always false because the function is_parent_of() is working just for relative paths.
Due to the changes in docker and finding out which ports I have to open I was testing the
http_server_test
.Unfortunately it is not working on the host system as
__FILE__
has no relativ path (../../test/http_server_test/http_server_test.cpp
). The check in HTTPServer.h (line 234)config.web_root().is_parent_of(search)
is always false because the functionis_parent_of()
is working just for relative paths.