New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix: images don't load when network path contains spaces #406

Merged
merged 2 commits into from Feb 10, 2014

Conversation

Projects
None yet
2 participants
@nickfrey
Contributor

nickfrey commented Jun 5, 2013

Due to [NSURL URLWithString:] returning nil to strings containing spaces, network images with paths containing spaces would fail to load.

[NSString stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding] is used to replace spaces with %20, which works.

jverkoey added a commit that referenced this pull request Feb 10, 2014

Merge pull request #406 from nickfrey/master
Bug fix: images don't load when network path contains spaces

@jverkoey jverkoey merged commit 6cd5aed into jverkoey:master Feb 10, 2014

@jverkoey

This comment has been minimized.

Show comment
Hide comment
@jverkoey

jverkoey Feb 10, 2014

Owner

Thanks!

Owner

jverkoey commented Feb 10, 2014

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment