Registered Member
|
I am using kTorrent 2.0.3 on KDE 3.5.5. I have the auto load feature enabled so when I save a torrent to a directory it automatically loads in kTorrent. I saved a torrent file that had a # in the filename and it failed to load. Lets call the torrent file "file.#1.torrent" for simplicity, the error would be that it couldn't load /home/username/torrents/file
The path would get truncated like that, and there is no file named file, so it would fail to find it. Somewhere the filename gets truncated at the # character. I hope this is enough information. One work around was to rename the torrent file to "file.number1.torrent" Or something like that just eliminate the # character. Cheers. |
Moderator
|
|
Moderator
|
|
Registered Member
|
The problem is in scanfolder.cpp (within the scan folder plugin). In ScanFolder::onNewItems(), the following code appear in 2.0.3:
It should be like this:
Using the path as an initializer does not escape url characters. The setPath method does. I hope this is helpful. Edit: Didn't look at the svn sources, and didn't see the last post before mine when I started posting. |
Registered Member
|
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar