| Index: content/renderer/pepper/url_request_info_util.cc
|
| diff --git a/content/renderer/pepper/url_request_info_util.cc b/content/renderer/pepper/url_request_info_util.cc
|
| index 157fc9c0ee18a318542f2a67e63a76f2222fd467..4d8aa14f55f658f21fee93a0e3b137b1634dac3a 100644
|
| --- a/content/renderer/pepper/url_request_info_util.cc
|
| +++ b/content/renderer/pepper/url_request_info_util.cc
|
| @@ -113,8 +113,8 @@ std::string FilterStringForXRequestedWithValue(const std::string& s) {
|
| char c = s[i];
|
| // Allow ASCII digits, letters, periods, commas, and underscores. (Ignore
|
| // all other characters.)
|
| - if ((c >= '0' && c <= '9') || (c >= 'A' && c <= 'Z') ||
|
| - (c >= 'a' && c <= 'z') || (c == '.') || (c == ',') || (c == '_'))
|
| + if (base::IsAsciiDigit(c) || base::IsAsciiAlpha(c) || (c == '.') ||
|
| + (c == ',') || (c == '_'))
|
| rv.push_back(c);
|
| }
|
| return rv;
|
|
|