upload_form.html
+ need to add multipart/form-data parsing
This commit is contained in:
@@ -127,7 +127,7 @@ void Webserv::_autoindex(Client *client, const std::string &path)
|
||||
if (strcmp(".", ent->d_name) == 0)
|
||||
continue ;
|
||||
dir_list.append("<a href=\"");
|
||||
dir_list.append(client->assigned_location->path + "/");
|
||||
dir_list.append(client->get_rq_abs_path() + "/");
|
||||
dir_list.append(ent->d_name);
|
||||
dir_list.append("\">");
|
||||
dir_list.append(ent->d_name);
|
||||
|
||||
Reference in New Issue
Block a user