Skip to content

Commit

Permalink
1.5.6 - Fix for Tumblr URLs that use HTTPS scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
Shino Amakusa committed Sep 30, 2017
1 parent a732bbb commit 4b20cf9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Tumbl Tool/Helpers/WebHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public static string EncodeUrl(string value)
/// <returns></returns>
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;
}

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions Tumbl Tool/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.5.5.0")]
[assembly: AssemblyFileVersion("1.5.5.0")]
[assembly: AssemblyVersion("1.5.6.0")]
[assembly: AssemblyFileVersion("1.5.6.0")]
2 changes: 1 addition & 1 deletion Tumblr Tool UI/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
4 changes: 2 additions & 2 deletions Tumblr Tool UI/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
[assembly: AssemblyVersion("1.5.6.0")]
[assembly: AssemblyFileVersion("1.5.6.0")]

0 comments on commit 4b20cf9

Please sign in to comment.