Skip to content

Commit

Permalink
fix(android): handle encoded WebView url (#12450)
Browse files Browse the repository at this point in the history
Fixes TIMOB-28341
  • Loading branch information
garymathews authored and sgtcoolguy committed Mar 5, 2021
1 parent a0a9017 commit 6d4d1b5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,8 @@ public void setUrl(String url)
final Uri uri = Uri.parse(url);

// Extract URL query parameters.
final String query = uri.getQuery() != null ? "?" + uri.getQuery() : "";
final String encodedQuery = uri.getEncodedQuery();
final String query = encodedQuery != null ? "?" + encodedQuery : "";
final String fragment = uri.getFragment();

// Resolve URL path.
Expand Down

0 comments on commit 6d4d1b5

Please sign in to comment.