merge hugo5 with script cgi tests
This commit is contained in:
@@ -221,11 +221,6 @@ void Client::fill_script_path(std::string &path, size_t pos)
|
||||
{
|
||||
std::string tmp;
|
||||
|
||||
if (path[0] == '.')
|
||||
{
|
||||
path.erase(0, 1);
|
||||
pos--;
|
||||
}
|
||||
_request.script.path = path.substr(0, pos);
|
||||
_request.script.info = path.substr(pos);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user