Ticket #1498 (closed patch: fixed)
[PATCH] core.torrent.Torrent.rename_folder adds a forward slash.
|Reported by:||Hiram||Owned by:|
|Component:||core||Version:||other (please specify)|
torrent.py adds an unnecessary forward slash to the end of a folder when it gets renamed. This creates a rollover problem when it renames the files in the torrent to match the folder, as it creates a double forward slash.
E.g., "Folder", containing "file.txt", becomes "Folder//file.txt" which creates viewing problems in the GTK client, not sure if it creates a problem in the filesystem though.
The attached patch corrects this.