From b5d6f50fb12f01f6e2bed24118dd777163339a06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 3 Jul 2014 20:29:44 +0200 Subject: Make paste.ee logs expire after a month --- logic/net/PasteUpload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'logic/net') diff --git a/logic/net/PasteUpload.cpp b/logic/net/PasteUpload.cpp index 402eb400..ec0b2c60 100644 --- a/logic/net/PasteUpload.cpp +++ b/logic/net/PasteUpload.cpp @@ -15,7 +15,7 @@ void PasteUpload::executeTask() QNetworkRequest request(QUrl("http://paste.ee/api")); request.setHeader(QNetworkRequest::UserAgentHeader, "MultiMC/5.0 (Uncached)"); QByteArray content( - "key=public&description=MultiMC5+Log+File&language=plain&format=json&paste=" + + "key=public&description=MultiMC5+Log+File&language=plain&format=json&expire=2592000&paste=" + m_text.toUtf8()); request.setRawHeader("Content-Type", "application/x-www-form-urlencoded"); request.setRawHeader("Content-Length", QByteArray::number(content.size())); -- cgit v1.2.3