+ in fill_script_path() : scipt_path and script_info are filled, removing leadin dot
+ in _cgi_pos() : check validity of extension if it's only alpha characters + severall pbm appears
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
# include <arpa/inet.h> // htonl, htons, ntohl, ntohs, inet_addr, inet_ntoa
|
||||
# include "utils.hpp"
|
||||
# include "ServerConfig.hpp"
|
||||
# include "colors.h"
|
||||
|
||||
struct Script
|
||||
{
|
||||
@@ -76,7 +77,7 @@ class Client
|
||||
void clear();
|
||||
void clear_request();
|
||||
void clear_script();
|
||||
void fill_script_path(const std::string &path, size_t pos);
|
||||
void fill_script_path(std::string &path, size_t pos);
|
||||
// DEBUG
|
||||
void print_client(std::string message = "");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user