Skip to content
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

Bugfix/28 #36

Merged
merged 2 commits into from
Oct 29, 2015
Merged

Bugfix/28 #36

merged 2 commits into from
Oct 29, 2015

Conversation

ccerinojr
Copy link
Contributor

Fixing deprecation warnings for:
CFURLCreateStringByAddingPercentEscapes
CFURLCreateStringByReplacingPercentEscapesUsingEncoding

This addresses issue #28

@garrettmoon
Copy link
Collaborator

Awesome, thanks!

@mRs-
Copy link
Contributor

mRs- commented Nov 19, 2015

This is bad! It broke the complete offline functionality of PinCache! Just hunted the bug for nearly 3 hours with the lead to this!

The old code did something like this to a URL:

/var/mobile/Containers/Data/Application/3F94B263-3C15-4BF4-BC87-24DFB8C9F64A/Library/Caches/com.pinterest.PINDiskCache.PINRemoteImageManagerCache/http%3A%2F%2Fwww%2Enoz%2Ede%2Fmedia%2F2015%2F11%2F19%2Fbahnuebergang11_201511191715_compact_topnews_1%2Ejpg 

the new code is replacing all things besides of .:/

For the future, this should be unit tested!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants