Skip to content

@"".DPL_parametersFromQueryString crashes on iOS7 #103

@zrxq

Description

@zrxq

Apparently @"".stringByRemovingPercentEncoding returns nil on iOS7. The following lines:

NSString *key = [[pairs firstObject] DPL_stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
paramsDict[key] = @"";

crash for e.g. customscheme:/whatever?# for obvious reasons.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions