diff --git a/src/uri.cpp b/src/uri.cpp index b168cbb2e12f191f570b3164b315a2fc5d1cc526..b9478d57938fe524590afc0ec463c1508753c9d6 100644 --- a/src/uri.cpp +++ b/src/uri.cpp @@ -266,7 +266,8 @@ URI::ProtocolHint URI::protocolHint() const : ( //Step three : Check RING protocol, is has already been detected at this point - d_ptr->m_HeaderType == URI::SchemeType::RING && isHash ? URI::ProtocolHint::RING + (d_ptr->m_HeaderType == URI::SchemeType::RING && isHash) || (isHash && d_ptr->m_Userinfo.size() == 40) + ? URI::ProtocolHint::RING : ( //Step four : Differentiate between ***@*** and *** type URIs