Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

CFURLCreateStringByAddingPercentEscapesの変更 (issue #95) #126

Merged
merged 6 commits into from Jul 24, 2017

Conversation

vfa-duyna
Copy link
Contributor

@vfa-duyna vfa-duyna commented Jul 5, 2017

概要(Summary)

動作確認手順(Step for Confirmation)

Run the unit test.

[self createSignature];
self.path = [self percentEscape:self.path];
self.path = [self.path stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLPathAllowedCharacterSet]];

Choose a reason for hiding this comment

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

Please remove unnecessary space key ( " " / " " )

@gs0zk1 gs0zk1 self-assigned this Jul 6, 2017
@gs0zk1 gs0zk1 changed the title issue #95の対応 CFURLCreateStringByAddingPercentEscapesの変更 Jul 6, 2017
@gs0zk1
Copy link
Contributor

gs0zk1 commented Jul 6, 2017

Connected to #95

@vfa-duyna vfa-duyna changed the title CFURLCreateStringByAddingPercentEscapesの変更 CFURLCreateStringByAddingPercentEscapesの変更 (issue #95) Jul 10, 2017
@gs0zk1 gs0zk1 requested review from gs0zk1 and removed request for gs0zk1 July 10, 2017 06:47
CFSTR(":/?#[]@!$&'()*+,;="),
kCFStringEncodingUTF8 );
NSString *escapedStr = CFBridgingRelease(escapedStrRef);
NSString * escapedStr = [originalString stringByAddingPercentEncodingWithAllowedCharacters:[[NSCharacterSet characterSetWithCharactersInString:@":/?#[]@!$&'()*+,;=\"<>\^`{|}"] invertedSet]];
Copy link
Contributor

Choose a reason for hiding this comment

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

*とescapedStrの間のspaceも削除してください

@gs0zk1 gs0zk1 self-requested a review July 21, 2017 01:27
@@ -78,13 +78,7 @@ +(NSString *)returnSessionToken {
}

+(NSString *)returnEncodedString:(NSString *)originalString {
Copy link
Contributor

Choose a reason for hiding this comment

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

このメソッドのテストをNCMBTests/NCMBRequestSpec.mに追加してください。

@gs0zk1 gs0zk1 self-requested a review July 24, 2017 09:56
Copy link
Contributor

@gs0zk1 gs0zk1 left a comment

Choose a reason for hiding this comment

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

確認しました

@gs0zk1 gs0zk1 merged commit e4b456c into develop Jul 24, 2017
@gs0zk1 gs0zk1 removed the In Review label Jul 24, 2017
@gs0zk1 gs0zk1 deleted the fix/change_deprecated_cfurlcreatestring branch July 24, 2017 10:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants