vadymmarkov / Malibu

:surfer: Malibu is a networking library built on promises
https://vadymmarkov.github.io
Other
414 stars 39 forks source link

Fix: construct request URL with query parameters #77

Closed vadymmarkov closed 7 years ago

vadymmarkov commented 7 years ago

This bug was introduced in https://github.com/hyperoslo/Malibu/pull/57. Apparently appendingPathComponent applies URL percent encoding, but we don't want to do that when a request is built using query parameters:

Request.get("search?q=text")