mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-22 00:59:08 +01:00
* HTTPProxy.cpp : direct use of parsed url parts in CreateHTTPRequest()
This commit is contained in:
parent
a9f3235fd3
commit
347157b999
1 changed files with 3 additions and 3 deletions
|
@ -188,10 +188,10 @@ namespace proxy {
|
||||||
}
|
}
|
||||||
|
|
||||||
i2p::data::IdentHash identHash;
|
i2p::data::IdentHash identHash;
|
||||||
if (str_rmatch(m_address, ".i2p"))
|
if (str_rmatch(url.host, ".i2p"))
|
||||||
{
|
{
|
||||||
if (!i2p::client::context.GetAddressBook ().GetIdentHash (m_address, identHash)){
|
if (!i2p::client::context.GetAddressBook ().GetIdentHash (url.host, identHash)){
|
||||||
RedirectToJumpService(m_address);
|
RedirectToJumpService(url.host);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue