summaryrefslogtreecommitdiffstats
path: root/google_apis/gcm/engine/registration_request_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'google_apis/gcm/engine/registration_request_unittest.cc')
-rw-r--r--google_apis/gcm/engine/registration_request_unittest.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/google_apis/gcm/engine/registration_request_unittest.cc b/google_apis/gcm/engine/registration_request_unittest.cc
index 9a8ab01..4dcebd7 100644
--- a/google_apis/gcm/engine/registration_request_unittest.cc
+++ b/google_apis/gcm/engine/registration_request_unittest.cc
@@ -181,8 +181,10 @@ TEST_F(GCMRegistrationRequestTest, RequestRegistrationWithMultipleSenderIds) {
continue;
ASSERT_TRUE(data_tokenizer.GetNext());
- std::string senders(net::UnescapeURLComponent(data_tokenizer.token(),
- net::UnescapeRule::URL_SPECIAL_CHARS));
+ std::string senders(net::UnescapeURLComponent(
+ data_tokenizer.token(),
+ net::UnescapeRule::PATH_SEPARATORS |
+ net::UnescapeRule::URL_SPECIAL_CHARS_EXCEPT_PATH_SEPARATORS));
base::StringTokenizer sender_tokenizer(senders, ",");
ASSERT_TRUE(sender_tokenizer.GetNext());
EXPECT_EQ("sender1", sender_tokenizer.token());