Opened 7 years ago

Closed 7 years ago

#1293 closed defect (Fixed)

deluge-console under windows doesn't like forward slashes

Reported by: Znuff Owned by:
Priority: major Milestone: 1.3
Component: Console UI 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 (3)

comment:1 Changed 7 years ago by Znuff

  • Cc znuffy@… added

comment:2 Changed 7 years ago by johnnyg

I should point out that:

'/' is a forward slash

and

'\' is a backslash

comment:3 Changed 7 years ago by johnnyg

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.