mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
exclude Token from requests
This commit is contained in:
@@ -168,7 +168,10 @@ namespace client
|
||||
{
|
||||
LogPrint (eLogInfo, v.first);
|
||||
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;
|
||||
(this->*(it->second))(params, results);
|
||||
|
||||
Reference in New Issue
Block a user