mirror of https://github.com/KDE/kasts.git
Fix user-agent
There was a semicolon in the user agent string which seems to cause problems on certain servers. Closes #37
This commit is contained in:
parent
090a6f0fd0
commit
71eb79979a
|
@ -225,5 +225,5 @@ QNetworkReply *Fetcher::head(QNetworkRequest &request) const
|
|||
|
||||
void Fetcher::setHeader(QNetworkRequest &request) const
|
||||
{
|
||||
request.setRawHeader(QByteArray("User-Agent"), QByteArray("Kasts/") + QByteArray(KASTS_VERSION_STRING) + QByteArray("; Syndication"));
|
||||
request.setRawHeader(QByteArray("User-Agent"), QByteArray("Kasts/") + QByteArray(KASTS_VERSION_STRING) + QByteArray(" Syndication"));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue