zelloptt / zellowork-server-api-libs

Client libraries for Zello Work server API
https://zellowork.com/api/
MIT License
24 stars 13 forks source link

Bug in ZelloAPI.m for iOS support #18

Closed KoryBricker-Personal closed 1 year ago

KoryBricker-Personal commented 1 year ago

About line 271 reads...

if (self.sessionId) { [[urlString stringByAppendingString:@"?sid="] stringByAppendingString:_sessionId]; }

but should be

if (self.sessionId) { urlString = [[urlString stringByAppendingString:@"?sid="] stringByAppendingString:_sessionId]; }

without this change, login attempts cause a 304 error saying "Invalid captcha" because it never actually appends the sad to the urlString