NOISSUE switch paste.ee over to https only

This commit is contained in:
Petr Mrázek 2017-02-08 21:30:39 +01:00
parent 8bbaab334c
commit 17fac2e0df

View File

@ -30,7 +30,7 @@ bool PasteUpload::validateText()
void PasteUpload::executeTask() void PasteUpload::executeTask()
{ {
QNetworkRequest request(QUrl("http://paste.ee/api")); QNetworkRequest request(QUrl("https://paste.ee/api"));
request.setHeader(QNetworkRequest::UserAgentHeader, "MultiMC/5.0 (Uncached)"); request.setHeader(QNetworkRequest::UserAgentHeader, "MultiMC/5.0 (Uncached)");
request.setRawHeader("Content-Type", "application/x-www-form-urlencoded"); request.setRawHeader("Content-Type", "application/x-www-form-urlencoded");