PasteUpload: Trim whitespace from response body

This commit is contained in:
Lenny McLennington 2022-01-19 14:59:09 +00:00
parent b50e584369
commit caeab926bc
No known key found for this signature in database
GPG Key ID: F0467078ECA45FCB

View File

@ -68,6 +68,6 @@ void PasteUpload::downloadFinished()
return;
}
m_pasteLink = QString::fromUtf8(data);
m_pasteLink = QString::fromUtf8(data).trimmed();
emitSucceeded();
}