diff --git a/webserv/handler/URI.cpp b/webserv/handler/URI.cpp index 08fbc6a..f7b9f8c 100644 --- a/webserv/handler/URI.cpp +++ b/webserv/handler/URI.cpp @@ -236,7 +236,7 @@ std::string URI::getUriForPath(const std::string &path) const } Log::debug("Generating URI for path", {{"path", path},{"trimmedDir", trimmedLocation}, {"trimmedPath", trimmedPath}, {"Authority", authority_}}); - std::string result = "http://" + authority_; + std::string result = "http://" + authority_; //TODO this should not be hardcoded... result = FileUtils::joinPath(result, trimmedLocation); return FileUtils::joinPath(result, trimmedPath); }