mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
* HTTPProxy.cpp : direct use of parsed url parts in CreateHTTPRequest()
This commit is contained in:
parent
a9f3235fd3
commit
347157b999
|
@ -188,10 +188,10 @@ namespace proxy {
|
|||
}
|
||||
|
||||
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)){
|
||||
RedirectToJumpService(m_address);
|
||||
if (!i2p::client::context.GetAddressBook ().GetIdentHash (url.host, identHash)){
|
||||
RedirectToJumpService(url.host);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue