-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Support paths with + in List API #6700
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
Conversation
8610cc6
to
969ba5c
Compare
969ba5c
to
e60654e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a changelog
@"o?prefix=%2Bfoo/&delimiter=/"]; | ||
|
||
self.fetcherService.testBlock = | ||
^(GTMSessionFetcher *fetcher, GTMSessionFetcherTestResponse response) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you avoid the pragma with an approach like #6693?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am getting an unused variable warning, and I don't see how the code you linked to doesn't generate the same warning. Is there any trick I need to employ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, forgot to push the Changelog. Added.
@"o?prefix=%2Bfoo/&delimiter=/"]; | ||
|
||
self.fetcherService.testBlock = | ||
^(GTMSessionFetcher *fetcher, GTMSessionFetcherTestResponse response) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am getting an unused variable warning, and I don't see how the code you linked to doesn't generate the same warning. Is there any trick I need to employ?
There's something weird going on with the XCTest macros. In the Messaging test, they reference self but not in the Storage test - I can't see what about the projects would trigger the difference. I also don't reproduce the warning when I remove the #pragma's in the Storage test. This probably isn't worth this much time - so I'm fine to merge as is. |
NSQueryParams doesn't encode
+
to%2B
, which breaks the List API since it treats+
as space.Note that other Storage APIs don't rely on query param encoding. There is already an integration tests that verifies that users can up and download files with
+
signs.Fixes b/170259897