Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(825)

Issue 1680663002: Fix usage of deprecated method stringByAddingPercentEscapesUsingEncoding:. (Closed)

Created:
4 years, 10 months ago by sdefresne
Modified:
4 years, 10 months ago
Reviewers:
Mark Mentovai
CC:
google-breakpad-dev_googlegroups.com
Base URL:
https://chromium.googlesource.com/breakpad/breakpad.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix usage of deprecated method stringByAddingPercentEscapesUsingEncoding:. The method -[NSString stringByAddingPercentEscapesUsingEncoding:] has been deprecated with 10.11 OS X SDK and 9.0 iOS SDK. The recommended method is -[NSString stringByAddingPercentEncodingWithAllowedCharacters:] available since 10.9 OS X SDK and 7.0 iOS SDK. Use the new method when available using URLQueryAllowedCharacterSet to get the same encoded string. BUG=https://bugs.chromium.org/p/google-breakpad/issues/detail?id=675 BUG=569158 R=mark@chromium.org Committed: https://chromium.googlesource.com/breakpad/breakpad/+/450491f4f76bb42299445dbdb35be849bf8c8921

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -4 lines) Patch
M src/common/mac/HTTPMultipartUpload.m View 3 chunks +19 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 5 (2 generated)
sdefresne
Please take a look. This is a partial reland of https://codereview.chromium.org/1563223004/ using the correct NSCharacterSet ...
4 years, 10 months ago (2016-02-08 11:18:10 UTC) #2
Mark Mentovai
LGTM
4 years, 10 months ago (2016-02-08 15:09:26 UTC) #3
sdefresne
4 years, 10 months ago (2016-02-08 16:39:30 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
450491f4f76bb42299445dbdb35be849bf8c8921 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698