mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-06 15:23:22 +02:00
Merge pull request #1438 from namark/settings-null-deref-fix
Fixed empty POST request to settings.json crashing the Domain server.
This commit is contained in:
commit
b3722b050c
1 changed files with 1 additions and 0 deletions
|
@ -338,6 +338,7 @@ void HTTPConnection::readHeaders() {
|
|||
|
||||
QByteArray clength = requestHeader("Content-Length");
|
||||
if (clength.isEmpty()) {
|
||||
_requestContent = MemoryStorage::make(0);
|
||||
_parentManager->handleHTTPRequest(this, _requestUrl);
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue