1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 19:30:21 +02:00

Merge pull request #322 from theli-ua/utf8

Properly encode post data as UTF8 in nativeasyncrequest
This commit is contained in:
Dominik Schmidt
2015-09-04 00:37:49 +02:00

View File

@@ -921,7 +921,7 @@ JSResolverHelper::nativeAsyncRequest( const int requestId, const QString& url,
QByteArray data;
if ( options.contains( "data" ) )
{
data = options["data"].toString().toLatin1();
data = options["data"].toString().toUtf8();
}
reply = new NetworkReply( Tomahawk::Utils::nam()->post( req, data ) );
}