diff options
author | Mattes D <github@xoft.cz> | 2014-05-11 20:59:15 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-05-11 20:59:15 +0200 |
commit | e0c56b752204202840f60ed904210c99414517bb (patch) | |
tree | 4532e85cbcc873a2616147713e9f899ecf84d111 /src/HTTPServer/HTTPMessage.cpp | |
parent | Merge pull request #993 from mc-server/GridStructGen (diff) | |
parent | Merge branch 'master' into SslWebAdmin (diff) | |
download | cuberite-e0c56b752204202840f60ed904210c99414517bb.tar cuberite-e0c56b752204202840f60ed904210c99414517bb.tar.gz cuberite-e0c56b752204202840f60ed904210c99414517bb.tar.bz2 cuberite-e0c56b752204202840f60ed904210c99414517bb.tar.lz cuberite-e0c56b752204202840f60ed904210c99414517bb.tar.xz cuberite-e0c56b752204202840f60ed904210c99414517bb.tar.zst cuberite-e0c56b752204202840f60ed904210c99414517bb.zip |
Diffstat (limited to '')
-rw-r--r-- | src/HTTPServer/HTTPMessage.cpp | 2 |
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; |