mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-01-10 23:29:53 +02:00
Added fix for HttpProvider.PostCommand so it uses a valid URL.
This commit is contained in:
parent
b239e28898
commit
4eea6b8c6b
@ -68,7 +68,7 @@ public virtual bool DownloadFile(string address, string fileName)
|
||||
|
||||
public virtual string PostCommand(string address, string username, string password, string command)
|
||||
{
|
||||
address += "/jsonrpc";
|
||||
address = String.Format("http://{0}/jsonrpc", address);
|
||||
|
||||
Logger.Trace("Posting command: {0}, to {1}", command, address);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user