summaryrefslogtreecommitdiffstats
path: root/api/logic/net/PasteUpload.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-02-08 21:30:39 +0100
committerPetr Mrázek <peterix@gmail.com>2017-02-08 21:30:39 +0100
commit17fac2e0df0faa6d2e95e1b9c6918b5549d03b06 (patch)
tree31149fd65ecdd7c544565b30270ba79605d9899d /api/logic/net/PasteUpload.cpp
parent8bbaab334c5116be4c180c3eac93c4acc844f4bd (diff)
downloadMultiMC-17fac2e0df0faa6d2e95e1b9c6918b5549d03b06.tar
MultiMC-17fac2e0df0faa6d2e95e1b9c6918b5549d03b06.tar.gz
MultiMC-17fac2e0df0faa6d2e95e1b9c6918b5549d03b06.tar.lz
MultiMC-17fac2e0df0faa6d2e95e1b9c6918b5549d03b06.tar.xz
MultiMC-17fac2e0df0faa6d2e95e1b9c6918b5549d03b06.zip
NOISSUE switch paste.ee over to https only
Diffstat (limited to 'api/logic/net/PasteUpload.cpp')
-rw-r--r--api/logic/net/PasteUpload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/logic/net/PasteUpload.cpp b/api/logic/net/PasteUpload.cpp
index a03a4c64..59779b2c 100644
--- a/api/logic/net/PasteUpload.cpp
+++ b/api/logic/net/PasteUpload.cpp
@@ -30,7 +30,7 @@ bool PasteUpload::validateText()
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.setRawHeader("Content-Type", "application/x-www-form-urlencoded");