mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Cosmetic: fix static warning
This commit is contained in:
@@ -523,7 +523,7 @@ int Transaction::processURI(const char *uri, const char *method,
|
|||||||
}
|
}
|
||||||
if (netloc != std::string::npos && fullDomain == true) {
|
if (netloc != std::string::npos && fullDomain == true) {
|
||||||
size_t path = m_uri_decoded.find("/", netloc);
|
size_t path = m_uri_decoded.find("/", netloc);
|
||||||
if (path != std::string::npos && fullDomain == true) {
|
if (path != std::string::npos) {
|
||||||
parsedURI = m_uri_decoded.substr(path);
|
parsedURI = m_uri_decoded.substr(path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user