On Mac, tr_getWebClientDir() uses incorrect encoding for creating the web content dir path
|Reported by:||Benjamin||Owned by:||livings124|
The code uses CFStringGetFastestEncoding() which does not always return a correct encoding when working with non-latin1 string (if the use uses a Asian username for example).
It should use CFStringGetFileSystemRepresentation() instead, which return string with the right encoding for system calls.
Change History (9)
Changed 5 years ago by Benjamin
comment:2 Changed 5 years ago by livings124
- Milestone changed from None Set to 2.40
- Resolution set to fixed
- Status changed from new to closed
- Version changed from 2.33+ to 2.33