Browse Source

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

pull/509/merge
hagen 9 years ago
parent
commit
347157b999
  1. 6
      HTTPProxy.cpp

6
HTTPProxy.cpp

@ -188,10 +188,10 @@ namespace proxy { @@ -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…
Cancel
Save