Limit DownloadHandler max redirection to 20

Closes #10219.
This commit is contained in:
Chocobo1 2019-02-13 21:56:48 +08:00
parent 409557ef30
commit 8fe1ff87f1
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
2 changed files with 11 additions and 1 deletions

View file

@ -74,6 +74,7 @@ namespace Net
QNetworkReply *m_reply;
DownloadManager *m_manager;
const DownloadRequest m_downloadRequest;
short m_redirectionCounter = 0;
};
}