1

Closed

Crash when credentials are not given

description

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.
 
Thanks.
Closed Sep 8, 2011 at 2:39 AM by abub
Fixed as V1.3

comments

abub wrote Mar 30, 2011 at 1:29 AM

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