Crash when credentials are not given


When the credentials are not given to the ObjectContext, but the service does require it - the library code causes to a crash.
The reason is that in HTTPHandler.m line 210 the user_name and password are nil. To fix that I suggest that in line 176 instead YES, return the following user_name != nil && password != nil.
This will cause the request no have the challenge and instead 401 will be returned to the requester.
Closed Sep 8, 2011 at 3:39 AM by abub
Fixed as V1.3


abub wrote Mar 30, 2011 at 2:29 AM

Thanks for reporting this issue. We are finalizing the current release and shall consider this issue for the future.

wrote Sep 8, 2011 at 3:39 AM

wrote Feb 14, 2013 at 8:26 PM

wrote May 16, 2013 at 10:03 AM