NOISSUE switch paste.ee over to https only
This commit is contained in:
parent
8bbaab334c
commit
17fac2e0df
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user