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:
@@ -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 ) );
|
||||
}
|
||||
|
Reference in New Issue
Block a user