Skip to content

- (void)shortenURLFinished:(SHKRequest *)aRequest Function in SHKTwitter does not detect when the result is a nsstring with length 0. #255

@aakashk15

Description

@aakashk15

changing :
if (result == nil || [NSURL URLWithString:result] == nil)

to

if (result == nil || [NSURL URLWithString:result] == nil || [result length]<=0)

seems to fix the issue.

the getresult function in SHKResult makes sures it does not pass back a nil string, so without the [result length]<=0 it never enters this if block.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions