From c37fc01bb1eb11ae12bccdfa2e649ec2712243c4 Mon Sep 17 00:00:00 2001 From: Michael Ehrmann Date: Mon, 26 Nov 2012 17:17:29 +0100 Subject: [PATCH] Release notes referenced by URL in updates item description field can be delivered via https:// --- SUAppcastItem.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SUAppcastItem.m b/SUAppcastItem.m index c989f7e0..525d3fef 100644 --- a/SUAppcastItem.m +++ b/SUAppcastItem.m @@ -232,7 +232,7 @@ // Find the appropriate release notes URL. if ([dict objectForKey:@"sparkle:releaseNotesLink"]) [self setReleaseNotesURL:[NSURL URLWithString:[dict objectForKey:@"sparkle:releaseNotesLink"]]]; - else if ([[self itemDescription] hasPrefix:@"http://"]) // if the description starts with http://, use that. + else if ([[self itemDescription] hasPrefix:@"http://"] || [[self itemDescription] hasPrefix:@"https://"]) // if the description starts with http:// or https:// use that. [self setReleaseNotesURL:[NSURL URLWithString:[self itemDescription]]]; else [self setReleaseNotesURL:nil];