Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#4383 closed Bug (fixed)

transmission-create bug when using leading ./

Reported by: gunzip Owned by: jordan
Priority: Normal Milestone: 2.40
Component: Utils Version: 2.33
Severity: Normal Keywords:
Cc:

Description

ref: https://forum.transmissionbt.com/viewtopic.php?f=2&p=55525

the first 2 letters of the torrent file names are truncated when using leading ./ , thus creating invalid torrent file. this bug is very easy to duplicate:

$ mkdir Test
$ echo "this is file1" > Test/file1
$ echo "this is file2" > Test/file2
$ transmission-create -t http://sometracker ./Test/
Creating torrent "/mnt/sdb1/btornado/Test.torrent" .... done!
$ transmission-show Test.torrent 
Name: Test
File: Test.torrent
.
.
FILES

  Test/le1 (0.01 KiB)
  Test/le2 (0.01 KiB)

however using:

Test

/absolute/path/to/Test

../Test

all work correctly.

Change History (3)

comment:1 Changed 12 years ago by jordan

  • Milestone changed from None Set to 2.40
  • Status changed from new to assigned

confirmed.

Thanks for the recipe :)

comment:2 Changed 12 years ago by jordan

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

Fixed in r12581.

xref: #714

comment:3 Changed 12 years ago by gunzip

yes that fixed the problem

Note: See TracTickets for help on using tickets.