guyben
9d2b1e7572
Consolidate all Set parameter parsing
...
Currently, we have two different ways to parse a "set" parameter:
key=value1&key=value2&key=value3...
and
keys=value1,value2,value3
This is error prone for several reasons:
- different parts of the code must be "synchronized" to use the same style (the
place that creates the request, and the place that parses the request)
- for the key=value1&key=value2, we often use the same key name for the single
value and the set value. This can result in subtle bugs where part of the
code will successfully read the key assuming there's only one key (and will
get the first key=value1, ignoring the rest)
Here we transition everything to the keys=value1,value2,value3 method. This one
was chosen because:
- it's shorter
- it's more intuitive for users
- the key name is plural, differentiating it from the singular key=value that
other requests might need
-----------------------------------
To make sure there are not "transition issues", we will continue to support
(with warnings) the key=value1&key=value2 parameter parsing until we're sure we
haven't forgotten to update any part of the code.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=198810681
2018-06-06 15:04:02 -04:00
..
2017-11-07 17:11:29 -05:00
2017-12-01 22:14:06 -05:00
2017-07-12 11:03:50 -04:00
2018-06-06 15:04:02 -04:00
2018-05-30 12:18:54 -04:00
2018-02-20 15:09:45 -05:00
2018-05-05 23:21:55 -04:00
2017-12-01 22:14:05 -05:00
2017-02-17 12:17:53 -05:00
2017-05-17 12:17:40 -04:00
2017-02-02 16:27:22 -05:00
2017-02-02 16:27:22 -05:00
2018-05-30 12:18:54 -04:00
2017-02-02 16:27:22 -05:00
2018-04-10 17:04:07 -04:00
2018-05-30 12:18:54 -04:00
2017-02-17 12:12:12 -05:00
2017-12-01 22:14:06 -05:00
2018-03-19 18:22:01 -04:00
2017-02-06 16:45:23 -05:00
2017-09-12 15:51:50 -04:00
2017-09-20 10:27:17 -04:00
2018-04-23 15:04:04 -04:00
2017-02-02 16:27:22 -05:00
2018-05-05 23:37:11 -04:00
2017-02-02 16:27:22 -05:00
2017-12-27 11:08:55 -05:00
2018-04-10 16:20:52 -04:00
2017-02-02 16:27:22 -05:00
2017-08-01 16:58:59 -04:00
2017-08-01 16:58:59 -04:00
2018-02-05 23:56:16 -05:00
2017-02-02 16:27:22 -05:00
2017-11-21 18:45:12 -05:00
2018-02-05 23:56:16 -05:00
2017-12-01 22:14:06 -05:00
2018-03-19 18:20:30 -04:00
2017-02-02 16:27:22 -05:00
2018-05-30 12:18:54 -04:00
2017-12-01 22:14:06 -05:00
2017-10-24 16:53:47 -04:00
2017-10-10 12:09:41 -04:00
2017-02-17 12:12:12 -05:00
2017-11-21 18:17:31 -05:00
2017-12-01 22:14:05 -05:00
2017-08-01 16:58:59 -04:00
2018-05-30 12:18:54 -04:00
2017-02-02 16:27:22 -05:00
2017-05-03 11:08:02 -04:00
2018-05-30 12:18:54 -04:00
2017-02-02 16:27:22 -05:00
2017-04-05 10:10:38 -04:00
2017-12-13 12:43:45 -05:00
2018-04-10 16:53:18 -04:00
2017-05-17 11:58:35 -04:00
2018-04-10 16:53:18 -04:00
2017-04-13 10:58:57 -04:00
2017-02-02 16:54:28 -05:00
2018-01-19 14:26:56 -05:00
2018-03-06 19:15:52 -05:00
2017-12-01 22:14:06 -05:00
2017-12-01 22:14:05 -05:00
2018-06-06 15:04:02 -04:00
2017-02-02 16:27:22 -05:00
2017-04-10 13:44:52 -04:00
2017-02-02 16:27:22 -05:00
2017-02-02 16:27:22 -05:00
2018-04-23 15:02:31 -04:00
2017-02-17 12:12:12 -05:00
2017-02-02 16:27:22 -05:00
2017-02-02 16:27:22 -05:00
2017-02-02 16:27:22 -05:00
2018-05-05 23:21:55 -04:00
2017-02-02 16:27:22 -05:00
2017-08-01 16:49:29 -04:00
2017-02-02 16:27:22 -05:00
2017-08-01 16:58:59 -04:00
2017-03-13 10:41:15 -04:00
2017-06-05 18:17:09 -04:00
2017-02-02 16:27:22 -05:00
2017-11-21 18:17:31 -05:00
2017-04-10 13:44:52 -04:00
2017-04-13 10:58:57 -04:00
2017-02-02 16:27:22 -05:00
2017-02-02 16:27:22 -05:00
2017-02-02 16:27:22 -05:00
2017-08-29 16:25:33 -04:00
2017-12-01 22:14:05 -05:00
2017-02-02 16:27:22 -05:00
2018-05-17 21:52:35 -04:00
2017-02-02 16:27:22 -05:00
2018-05-17 21:52:35 -04:00
2017-02-02 16:27:22 -05:00
2017-02-02 16:27:22 -05:00
2017-02-02 16:27:22 -05:00
2017-02-02 16:27:22 -05:00
2017-12-27 11:19:53 -05:00
2017-08-01 16:58:59 -04:00
2018-05-30 12:18:54 -04:00
2017-11-21 18:54:42 -05:00
2018-02-20 15:32:04 -05:00
2017-02-02 16:27:22 -05:00
2017-03-13 10:35:23 -04:00
2018-05-30 12:18:54 -04:00
2017-12-27 11:08:55 -05:00
2018-04-10 16:53:18 -04:00
2018-04-10 16:53:18 -04:00
2017-02-02 16:27:22 -05:00
2017-12-27 11:08:55 -05:00
2017-09-12 15:51:50 -04:00
2017-02-02 16:27:22 -05:00
2017-11-07 17:08:35 -05:00
2018-04-10 17:08:45 -04:00
2018-05-30 12:18:54 -04:00
2018-05-05 23:37:11 -04:00
2017-12-01 22:14:06 -05:00
2018-01-19 14:26:56 -05:00
2017-02-17 12:12:12 -05:00
2017-11-21 18:45:12 -05:00
2017-02-17 12:12:12 -05:00
2017-06-05 18:17:09 -04:00
2017-02-02 16:27:22 -05:00
2017-02-02 16:27:22 -05:00
2018-03-19 18:20:30 -04:00
2018-05-17 21:52:35 -04:00
2017-02-02 16:27:22 -05:00
2018-05-30 12:18:54 -04:00
2017-11-21 18:45:12 -05:00
2017-11-21 18:45:12 -05:00
2017-02-02 16:27:22 -05:00
2018-05-30 12:18:54 -04:00
2017-08-01 16:49:29 -04:00
2017-02-02 16:27:22 -05:00
2017-08-01 16:58:59 -04:00
2017-10-24 16:53:47 -04:00
2017-02-02 16:27:22 -05:00
2017-11-21 18:45:12 -05:00
2017-11-21 18:17:31 -05:00
2017-02-02 16:27:22 -05:00
2017-02-02 16:27:22 -05:00
2017-10-10 12:09:41 -04:00
2017-10-24 16:53:47 -04:00
2018-04-02 16:36:50 -04:00
2018-05-30 12:18:54 -04:00