mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Merge pull request #2635 from Mesar-Ali/patch-1
Adjust confusing variable name in setRequestBody method
This commit is contained in:
commit
2de14cb000
@ -50,8 +50,8 @@ void HttpsClient::setKey(const std::string& key) {
|
|||||||
m_key = "ModSec-key: " + key;
|
m_key = "ModSec-key: " + key;
|
||||||
}
|
}
|
||||||
|
|
||||||
void HttpsClient::setRequestBody(const std::string& requestType) {
|
void HttpsClient::setRequestBody(const std::string& requestBody) {
|
||||||
m_requestBody = requestType;
|
m_requestBody = requestBody;
|
||||||
}
|
}
|
||||||
|
|
||||||
void HttpsClient::setRequestType(const std::string& requestType) {
|
void HttpsClient::setRequestType(const std::string& requestType) {
|
||||||
|
@ -47,7 +47,7 @@ class HttpsClient {
|
|||||||
size_t handle_impl(char * data, size_t size, size_t nmemb);
|
size_t handle_impl(char * data, size_t size, size_t nmemb);
|
||||||
void setKey(const std::string& key);
|
void setKey(const std::string& key);
|
||||||
void setRequestType(const std::string& requestType);
|
void setRequestType(const std::string& requestType);
|
||||||
void setRequestBody(const std::string& requestType);
|
void setRequestBody(const std::string& requestBody);
|
||||||
|
|
||||||
std::string error;
|
std::string error;
|
||||||
private:
|
private:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user