From 07628923689b5d4be41513f57423bfa05e1a8245 Mon Sep 17 00:00:00 2001 From: Felipe Zimmerle Date: Wed, 6 Jan 2016 14:36:30 -0300 Subject: [PATCH] Small fix on pull request #982 --- src/assay.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assay.cc b/src/assay.cc index decfc1bd..dae61909 100644 --- a/src/assay.cc +++ b/src/assay.cc @@ -288,7 +288,7 @@ int Assay::processURI(const char *uri, const char *protocol, std::string parsedURI = uri; // The more popular case is without domain - if (!m_uri_decoded.empty() && m_uri_decoded.at(1) != '/') { + if (!m_uri_decoded.empty() && m_uri_decoded.at(0) != '/') { bool fullDomain = true; size_t scheme = m_uri_decoded.find(":")+1; if (scheme==std::string::npos) {