View Issue Details

IDProjectCategoryView StatusLast Update
0009452Multi Theft Auto : San AndreasClientpublic2016-11-22 12:26
ReporterStifflersMomAssigned Toccw 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target Version1.5.4Fixed in Version1.5.4 
Summary0009452: playSound3D wrong encoding of soundURL
Description

Special chars like "ä" should be UTF-8 encoded.
If I try the following url with playSound3D:
"http://192.168.1.1/test.php?tl=de&text=ä"
The server gets:
"test.php?tl=de&text=\xC3\x83\xC2\xA4"

The encoding should be:
"test.php?tl=de&text=\xC3\xA4"

Now the funny part:
If you try to get the url:
"http://192.168.1.1/test.php?tl=de&text=&"

The log of the target http server logs three (!) get requests:

  1. "test.php?tl=de&text=&" with user agent "MTA:SA Server 192.168.60.1:22004 - See http://mtasa.com/agent/"

  2. "test.php?tl=de&text=&" with user agent "NSPlayer/12.0.7601.17514"

  3. "test.php?tl=de&text=&" with user agent "NSPlayer/12.0.7601.17514 WMFSDK/12.0"

From NOW (!) on the utf-8 encoding is ok until restarting the client.

I did not check playSound, but it may be also affected.

TagsNo tags attached.

Activities

StifflersMom

2016-11-06 02:33

updater   ~~0025372

Forgot the client version: Multi Theft Auto v1.5.3-release-10724

arranTuna

2016-11-22 12:25

manager   ~~0025418

https://github.com/multitheftauto/mtasa-blue/commit/1e7a98d703076a2874c4d1d3bf587e558e72d69b

Issue History

Date Modified Username Field Change