Drop the parsed query string from url for incoming HTTP data.
This commit is contained in:
parent
95a11c88d5
commit
fd2211f85f
1 changed files with 1 additions and 0 deletions
|
@ -144,6 +144,7 @@ bool HTTP::Parser::parse(std::string & HTTPbuffer){
|
|||
protocol = tmpA;
|
||||
if (url.find('?') != std::string::npos){
|
||||
parseVars(url.substr(url.find('?')+1)); //parse GET variables
|
||||
url.resize(url.find('?'));
|
||||
}
|
||||
}else{seenReq = false;}
|
||||
}else{seenReq = false;}
|
||||
|
|
Loading…
Add table
Reference in a new issue