mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-02 21:20:28 +12:00
fixed #3332: Ignore ftp links
This commit is contained in:
parent
b1570ba77b
commit
ded4d75315
|
@ -242,7 +242,7 @@ public void LoadImageFromFileAsync(string filePath)
|
|||
|
||||
public void LoadImageFromURLAsync(string url)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(url))
|
||||
if (!string.IsNullOrEmpty(url) && !url.StartsWith("ftp://") && !url.StartsWith("ftps://"))
|
||||
{
|
||||
LoadImageAsync(url);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue