Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Android: Ensure proper URL formatting without encoding, skip setParams if empty #178

Merged
merged 1 commit into from
Nov 10, 2021

Conversation

jesperbjerke
Copy link
Contributor

Added reading the option "shouldEncodeUrlParams" from JS and passed it on to setParams.
Fixed URL formatting in setParams when no encoding.
Added early return in setParams if params are empty, and skipped the URL formatting altogether.

This should fix #62 and #101

@thomasvidas thomasvidas merged commit 4065a02 into capacitor-community:master Nov 10, 2021
@thomasvidas
Copy link
Contributor

Fixes #56 #62 #101 #134 #137 #179

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

URL paths are decoded prior to request on Android
2 participants