Ticket #1293 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

deluge-console under windows doesn't like forward slashes

Reported by: Znuff Owned by:
Priority: major Milestone: 1.3
Component: console Version: 1.3.0_dev
Keywords: console, slashes, paths Cc: znuffy@…

Description

deluge-console under windows doesn't like having paths passed to it with single forward slashes (\). It works with backslashes (/) and double forward slashes (\\)

Example:

C:\Program Files (x86)\Deluge\Deluge-Python>deluge-console "add -p C:\torrents\dox c:\python26\scripts\test.uploadfu-0.5.1-rsr.torrent"
This is a directory!

C:\Program Files (x86)\Deluge\Deluge-Python>deluge-console "add c:\python26\scripts\test.uploadfu-0.5.1-rsr.torrent"
This is a directory!

C:\Program Files (x86)\Deluge\Deluge-Python>deluge-console "add c:\\python26\\scripts\\test.uploadfu-0.5.1-rsr.torrent"
Attempting to add torrent: c:\python26\scripts\test.uploadfu-0.5.1-rsr.torrent
Torrent added!

C:\Program Files (x86)\Deluge\Deluge-Python>deluge-console "add c:/python26/scripts/test.uploadfu-0.5.1-rsr.torrent"
Attempting to add torrent: c:/python26/scripts/test.uploadfu-0.5.1-rsr.torrent
Torrent added!

This bug has been present probably forever, first observed under 1.2.0 RC1

Change History

Changed 3 years ago by Znuff

  • cc znuffy@… added

Changed 3 years ago by johnnyg

I should point out that:

'/' is a forward slash

and

'\' is a backslash

Changed 3 years ago by johnnyg

  • status changed from new to closed
  • resolution set to fixed

This has been fixed in 4b1d60c727b517e45c4b5cbe8729481f33eb982f and will be in 1.3 RC2.

Note: See TracTickets for help on using tickets.