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

Updated URL query encoding to not use a deprecated function #583

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fadyyecob
Copy link

@fadyyecob fadyyecob commented Jan 4, 2022

Used stringByAddingPercentEncodingWithAllowedCharacters with URLQueryAllowedCharacterSet as the allowed character set for encoding key/value pairs sent over the URLRequest. And subtracted the characters from it that it should also encode

Related issue: #141

@fadyyecob fadyyecob changed the title Proper URL query encoding Proper URL query encoding (https://github.com/adjust/ios_sdk/issues/141) Jan 4, 2022
@fadyyecob fadyyecob changed the title Proper URL query encoding (https://github.com/adjust/ios_sdk/issues/141) Proper URL query encoding Jan 4, 2022
@fadyyecob fadyyecob changed the title Proper URL query encoding Updated URL query encoding to not use a deprecated function Jan 4, 2022
Copy link

@Deus-92 Deus-92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#import <CommonCrypto/CommonDigest.h>

@fadyyecob
Copy link
Author

#import <CommonCrypto/CommonDigest.h>

Not sure what you mean by this @Deus-92 , it doesn’t seem to be needed. Are you able to merge the pr btw?

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.

2 participants