Opened 9 years ago

Closed 9 years ago

#4648 closed Bug (fixed)

Transmission-Remote With Full URL Specified Broken

Reported by: markymarknz Owned by: jordan
Priority: Normal Milestone: 2.50
Component: Daemon Version: 2.42
Severity: Normal Keywords: backport-2.4x
Cc:

Description

In remote.c it appears since revision 13033 support for SSL was added.

A new variable was added: char *rpcurl_http = tr_strdup_printf( UseSSL? "https://%s" : "http://%s", rpcurl );

This appears to add "https://" or "http://" to the RPC URL.

The problem I have found is when I specify the full RPC URL e.g. for using a non-standard port & URL it adds an extra "http://" string to the RPC URL and therefore can't be found.

e.g running the command: transmission-remote http://localhost:9092/<subsite>/transmission --auth <user>:<password> --list

resulting error message: transmission-remote: (http://http://localhost:9092/<subsite>/transmission/rpc/) Couldn't resolve host name

This command previously worked fine prior to rev 13033.

Attachments (1)

tr-4648.patch (1.6 KB) - added by niol 9 years ago.
possible fix

Download all attachments as: .zip

Change History (5)

comment:1 Changed 9 years ago by jordan

  • Milestone changed from None Set to 2.50
  • Owner set to jordan
  • Status changed from new to assigned

Changed 9 years ago by niol

possible fix

comment:2 Changed 9 years ago by jordan

niol, thank you!

I'll take a look at this patch tonight.

comment:3 Changed 9 years ago by jordan

(trunk daemon) #4648 "Transmission-Remote With Full URL Specified Broken" -- fixed with patch from niol

comment:4 Changed 9 years ago by jordan

  • Keywords backport-2.4x added
  • Resolution set to fixed
  • Status changed from assigned to closed

fixed in trunk by r13104 for 2.50

Note: See TracTickets for help on using tickets.