mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1166759 - don't put nil values in POST data in Mac crash reporter. r=bsmedberg
This commit is contained in:
parent
4e9d0228af
commit
aa45347abc
@ -570,7 +570,14 @@ static bool RestartApplication()
|
||||
i++) {
|
||||
NSString* key = NSSTR(i->first);
|
||||
NSString* value = NSSTR(i->second);
|
||||
[parameters setObject: value forKey: key];
|
||||
if (key && value) {
|
||||
[parameters setObject: value forKey: key];
|
||||
} else {
|
||||
ostringstream message;
|
||||
message << "Warning: skipping annotation '" << i->first
|
||||
<< "' due to malformed UTF-8 encoding";
|
||||
LogMessage(message.str());
|
||||
}
|
||||
}
|
||||
|
||||
for (StringTable::const_iterator i = gFiles.begin();
|
||||
|
Loading…
Reference in New Issue
Block a user