diff --git a/Tumbl Tool/Helpers/WebHelper.cs b/Tumbl Tool/Helpers/WebHelper.cs index 27a0a68..a950464 100644 --- a/Tumbl Tool/Helpers/WebHelper.cs +++ b/Tumbl Tool/Helpers/WebHelper.cs @@ -85,7 +85,7 @@ public static string EncodeUrl(string value) /// public static string GetDomainName(string url) { - return Uri.TryCreate(url, UriKind.Absolute, out Uri uriResult) && uriResult.Scheme == Uri.UriSchemeHttp ? uriResult.Host : null; + return Uri.TryCreate(url, UriKind.Absolute, out Uri uriResult) && (uriResult.Scheme == Uri.UriSchemeHttp || uriResult.Scheme == Uri.UriSchemeHttps) ? uriResult.Host : null; } /// diff --git a/Tumbl Tool/Properties/AssemblyInfo.cs b/Tumbl Tool/Properties/AssemblyInfo.cs index 41bd10f..b31a178 100644 --- a/Tumbl Tool/Properties/AssemblyInfo.cs +++ b/Tumbl Tool/Properties/AssemblyInfo.cs @@ -28,5 +28,5 @@ // Build Number // Revision // -[assembly: AssemblyVersion("1.5.5.0")] -[assembly: AssemblyFileVersion("1.5.5.0")] \ No newline at end of file +[assembly: AssemblyVersion("1.5.6.0")] +[assembly: AssemblyFileVersion("1.5.6.0")] \ No newline at end of file diff --git a/Tumblr Tool UI/Form1.cs b/Tumblr Tool UI/Form1.cs index 067660d..dd6f021 100644 --- a/Tumblr Tool UI/Form1.cs +++ b/Tumblr Tool UI/Form1.cs @@ -33,7 +33,7 @@ public partial class MainForm : Form { private const string AppCopyright = "© 2013 - 2017 Shino Amakusa\r\n" + AppLinkUrl; private const string AppLinkUrl = "git.io/v9S3h"; - private const string AppVersion = "1.5.5"; + private const string AppVersion = "1.5.6"; private const string FileSizeFormat = "{0} {1}"; private const string ImageSizeLarge = "Large"; private const string ImageSizeMedium = "Medium"; diff --git a/Tumblr Tool UI/Properties/AssemblyInfo.cs b/Tumblr Tool UI/Properties/AssemblyInfo.cs index 21a6ad3..10ff490 100644 --- a/Tumblr Tool UI/Properties/AssemblyInfo.cs +++ b/Tumblr Tool UI/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.5.5.0")] -[assembly: AssemblyFileVersion("1.5.5.0")] \ No newline at end of file +[assembly: AssemblyVersion("1.5.6.0")] +[assembly: AssemblyFileVersion("1.5.6.0")] \ No newline at end of file