mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-24 01:46:36 +02:00
exclude Token from requests
This commit is contained in:
parent
42f314669f
commit
55f6fe6d3a
1 changed files with 4 additions and 1 deletions
|
@ -168,7 +168,10 @@ namespace client
|
||||||
{
|
{
|
||||||
LogPrint (eLogInfo, v.first);
|
LogPrint (eLogInfo, v.first);
|
||||||
if (!v.first.empty())
|
if (!v.first.empty())
|
||||||
params[v.first] = v.second.data ();
|
{
|
||||||
|
if (v.first != I2P_CONTROL_PARAM_TOKEN) // exclude Token. TODO: verify it
|
||||||
|
params[v.first] = v.second.data ();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
std::map<std::string, std::string> results;
|
std::map<std::string, std::string> results;
|
||||||
(this->*(it->second))(params, results);
|
(this->*(it->second))(params, results);
|
||||||
|
|
Loading…
Add table
Reference in a new issue