summaryrefslogtreecommitdiffstats
path: root/src/HTTPServer/HTTPMessage.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-05-01 11:34:15 +0200
committermadmaxoft <github@xoft.cz>2014-05-01 11:34:15 +0200
commita04cb6d146dfb8f04b0a8943c1e185fc25bf2829 (patch)
tree6a489301b85e29b574714283c086f89260892f1f /src/HTTPServer/HTTPMessage.cpp
parentAdded a (disabled) test of low-security ciphersuites. (diff)
downloadcuberite-a04cb6d146dfb8f04b0a8943c1e185fc25bf2829.tar
cuberite-a04cb6d146dfb8f04b0a8943c1e185fc25bf2829.tar.gz
cuberite-a04cb6d146dfb8f04b0a8943c1e185fc25bf2829.tar.bz2
cuberite-a04cb6d146dfb8f04b0a8943c1e185fc25bf2829.tar.lz
cuberite-a04cb6d146dfb8f04b0a8943c1e185fc25bf2829.tar.xz
cuberite-a04cb6d146dfb8f04b0a8943c1e185fc25bf2829.tar.zst
cuberite-a04cb6d146dfb8f04b0a8943c1e185fc25bf2829.zip
Diffstat (limited to '')
-rw-r--r--src/HTTPServer/HTTPMessage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HTTPServer/HTTPMessage.cpp b/src/HTTPServer/HTTPMessage.cpp
index 4a3611050..44feda469 100644
--- a/src/HTTPServer/HTTPMessage.cpp
+++ b/src/HTTPServer/HTTPMessage.cpp
@@ -201,7 +201,7 @@ size_t cHTTPRequest::ParseRequestLine(const char * a_Data, size_t a_Size)
return AString::npos;
}
// Check that there's HTTP/version at the end
- if (strncmp(a_Data + URLEnd + 1, "HTTP/1.", 7) != 0)
+ if (strncmp(m_IncomingHeaderData.c_str() + URLEnd + 1, "HTTP/1.", 7) != 0)
{
m_IsValid = false;
return AString::npos;