Commit ca4bb01
fix: URLEncoding of query string parameters (#523)
Refactor to get rid of crude and incorrect _appendQueryString. Query string parameter values that can potentially be strings should be URLEncoded. Also, _appendQueryString was assuming that the URL already had a query string and produced invalid URLs if the API version was blank.
Fixes #442, #517
---------
Co-authored-by: Seva Alekseyev <sevaa@nih.gov>
Co-authored-by: Sebastian Schütze <sebastian.schuetze@razorspoint.com>1 parent ec50dc9 commit ca4bb01
15 files changed
Lines changed: 222 additions & 148 deletions
File tree
- Source
- Private
- Public
- Tests/function/tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
0 commit comments