diff --git a/SUStatus.nib/info.nib b/SUStatus.nib/info.nib index 8b0e03d4..4318cb1b 100644 --- a/SUStatus.nib/info.nib +++ b/SUStatus.nib/info.nib @@ -13,7 +13,7 @@ 6 IBSystem Version - 9B18 + 9C31 targetFramework IBCocoaFramework diff --git a/SUStatus.nib/keyedobjects.nib b/SUStatus.nib/keyedobjects.nib index dd408341..4bdc9d67 100644 Binary files a/SUStatus.nib/keyedobjects.nib and b/SUStatus.nib/keyedobjects.nib differ diff --git a/SUUpdater.m b/SUUpdater.m index 43fa6fee..7f14260f 100644 --- a/SUUpdater.m +++ b/SUUpdater.m @@ -217,15 +217,16 @@ static SUUpdater *sharedUpdater = nil; updateInProgress = YES; // A value in the user defaults overrides one in the Info.plist (so preferences panels can be created wherein users choose between beta / release feeds). - NSString *appcastString = [[SUUserDefaults standardUserDefaults] objectForKey:SUFeedURLKey]; + NSString *appcastString = [[SUUserDefaults standardUserDefaults] objectForKey:SUFeedURLKey]; // if URL is quoted (because of pre-processing in plist files), remove quotes from the string if (!appcastString) appcastString = [hostBundle objectForInfoDictionaryKey:SUFeedURLKey]; if (!appcastString) [NSException raise:@"SUNoFeedURL" format:@"You must specify the URL of the appcast as the SUFeedURLKey in either the Info.plist or the user defaults!"]; + NSCharacterSet* quoteSet = [NSCharacterSet characterSetWithCharactersInString: @"\"\'"]; SUAppcast *appcast = [[SUAppcast alloc] init]; [appcast setDelegate:self]; - [appcast fetchAppcastFromURL:[NSURL URLWithString:appcastString] parameters:[self feedParameters]]; + [appcast fetchAppcastFromURL:[NSURL URLWithString:[appcastString stringByTrimmingCharactersInSet:quoteSet]] parameters:[self feedParameters]]; } - (BOOL)newVersionAvailable