Skip to content

Conversation

@adenwuts
Copy link

Fixes an error where task logs would be split on multibyte UTF8 characters, resulting in _tasks/actions.php returning a response with an empty body and a parsererror being triggered in the ruTorrent GUI.

This was causing issues when creating torrents with many files containing multibyte UTF8 characters (e.g. those with non-English characters), where ruTorrent would lose track of the torrent creation task and hang, despite the .torrent file being successfully created.

This setup assumes that incoming data is UTF8, but there's room to incorporate/extend some of the UTF checks from php/utlity/utf.php to potentially allow for non-UTF8 filesystem data. Let me know if you that's intended to be supported by ruTorrent, or if there's any guidance on how invalid use cases should be handled.

Fixes an error where task logs would be split on multibyte UTF8
characters, resulting in _tasks/actions.php returning a response
with an empty body and a parsererror being triggered in the
ruTorrent GUI.

This was causing issues when creating torrents with many files
containing multibyte UTF8 characters (e.g. those with non-English
characters), where ruTorrent would lose track of the torrent
creation task and hang, despite the .torrent file being
successfully created.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant