Fix for missing /

This commit is contained in:
RKrom 2015-11-07 15:39:41 +01:00
commit 3ccc1c0f9f
2 changed files with 11 additions and 6 deletions

View file

@ -162,7 +162,7 @@ namespace GreenshotImgurPlugin {
try
{
var webRequest = OAuth2Helper.CreateOAuth2WebRequest(HTTPMethod.POST, Config.ImgurApi3Url + "upload.xml", oauth2Settings);
var webRequest = OAuth2Helper.CreateOAuth2WebRequest(HTTPMethod.POST, Config.ImgurApi3Url + "/upload.xml", oauth2Settings);
otherParameters.Add("image", new SurfaceContainer(surfaceToUpload, outputSettings, filename));
NetworkHelper.WriteMultipartFormData(webRequest, otherParameters);