1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-25 17:27:18 +00:00

Added fix for HttpProvider.PostCommand so it uses a valid URL.

This commit is contained in:
Mark McDowall 2011-09-26 17:50:58 -07:00
parent b239e28898
commit 4eea6b8c6b

View file

@ -68,7 +68,7 @@ namespace NzbDrone.Core.Providers.Core
public virtual string PostCommand(string address, string username, string password, string command) 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); Logger.Trace("Posting command: {0}, to {1}", command, address);