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

View File

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