fixed #5691: Remove dot from end of Imgur webm urls

This commit is contained in:
Jaex 2021-07-09 00:30:32 +03:00
parent 662015b7ad
commit 281e3c2ae4

View file

@ -329,7 +329,8 @@ private UploadResult InternalUpload(Stream stream, string fileName, bool refresh
}
else
{
result.URL = imageData.link;
// webm uploads returns link with dot at the end
result.URL = imageData.link.TrimEnd('.');
}
}
else