iOS web browser with a focus on security and privacy
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

HSTSCache: check that we don't store nil keys or values

This may help the crashes reported in [HSTSCache writeToFile:]

+2 -1
+2 -1
Endless/HSTSCache.m
··· 212 212 213 213 - (void)setValue:(id)value forKey:(NSString *)key 214 214 { 215 - [[self dict] setValue:value forKey:key]; 215 + if (value != nil && key != nil) 216 + [[self dict] setValue:value forKey:key]; 216 217 } 217 218 218 219 - (void)removeObjectForKey:(id)aKey