Browse files

Release notes referenced by URL in updates item description field can…

… be delivered via https://
  • Loading branch information...
1 parent 7fae281 commit c37fc01bb1eb11ae12bccdfa2e649ec2712243c4 Michael Ehrmann committed with andymatuschak Nov 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 SUAppcastItem.m
@@ -232,7 +232,7 @@ - (BOOL)isDeltaUpdate
// 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]]];
[self setReleaseNotesURL:nil];

0 comments on commit c37fc01

Please sign in to comment.