Fixed crash when passing invalid JSON to request serialization by 0xced · Pull Request #3719 · AFNetworking/AFNetworking
kcharwood
changed the title
Do not crash when passing invalid JSON for serialization
Fixed crash when passing invalid JSON for serialization
Fixes #3711
The `NSURLErrorCannotDecodeContentData` code is not ideal, but `AFURLRequestSerializationErrorDomain` should define its own error codes anyway.
kcharwood
changed the title
Fixed crash when passing invalid JSON for serialization
Fixed crash when passing invalid JSON to request serialization
0xced
deleted the
fix-invalid-json-serialization-crash
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters