mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Fixed validateByteRange parsing method
This commit is contained in:
committed by
Felipe Zimmerle
parent
3dda0ea2c6
commit
4b3e6328e3
@@ -101,7 +101,7 @@ bool ValidateByteRange::init(const std::string &file,
|
||||
getRange(std::string(m_param, pos + 1, m_param.length() -
|
||||
(pos + 1)), error);
|
||||
} else {
|
||||
getRange(std::string(m_param, pos + 1, next_pos), error);
|
||||
getRange(std::string(m_param, pos + 1, next_pos - (pos + 1)), error);
|
||||
}
|
||||
pos = next_pos;
|
||||
}
|
||||
|
Reference in New Issue
Block a user