Chris Couzens
201cbdce29
Ruby client: escape path parameters
...
Path parameters should be escaped when encoded into the path.
In the path '/pet/{petId}' let's pretend petId is a string instead of a
number.
If the user uses "Bobby" as the petId then they correctly get the path
'/pet/Bobby'.
But if they put 'Bobby/Tables' as the petId then they used to get the
path '/pet/Bobby/Tables' which will be interpreted by the server as a
different route.
Using CGI::Escape they now get '/pet/Bobby%2FTables' which is correct.
2019-06-02 09:33:33 +01:00
..
2019-03-06 01:13:28 +08:00
2019-03-17 17:40:11 +08:00
2019-06-01 21:32:44 -04:00
2019-04-15 11:27:34 +08:00
2019-05-26 17:03:48 +08:00
2019-05-03 19:14:12 +02:00
2019-06-01 21:32:44 -04:00
2019-01-05 09:39:10 +08:00
2019-06-01 21:32:44 -04:00
2019-05-28 00:45:01 +08:00
2019-05-27 18:44:57 +08:00
2019-05-28 00:45:01 +08:00
2019-06-01 21:32:44 -04:00
2019-05-28 23:00:04 +08:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-03-26 18:23:23 +08:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-03-06 08:58:11 +08:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-01-26 21:05:22 +08:00
2019-04-23 18:32:07 +08:00
2019-06-01 21:32:44 -04:00
2019-01-03 16:06:22 +08:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-06-02 09:33:33 +01:00
2019-04-22 22:26:33 +08:00
2019-03-06 01:13:28 +08:00
2019-04-17 15:18:03 +08:00
2019-03-16 12:53:45 +09:00
2019-05-27 00:26:24 +08:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-01-05 09:39:10 +08:00
2019-04-16 16:55:26 +08:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00
2019-06-01 21:32:44 -04:00