Comment 17 for bug 830565

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Strange...

The parser is at src/webui/httprequestparser.cpp , you can have a look and make sure it is doing its job OK.

However, try to open a regular torrent file (with vim for example) and compare it to the ones you uploaded. The difference I see is that those you uploaded did not seem to have binary in them, only text chars. For this reason, my assumption was the binary writing issue.

Then again, it is entirely possible that the data get corrupted (converted to text) *before* writing. For example, if the QByteArray is converted to a QString and then converted back to a QByteArray. We should check the code for that, just in case.