* HTTPProxy.cpp : direct use of parsed url parts in CreateHTTPRequest()

This commit is contained in:
hagen 2016-05-27 00:00:00 +00:00
parent a9f3235fd3
commit 347157b999

View file

@ -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;
} }
} }