Skip to content

Commit

Permalink
fix: Avoid double encoding of URL parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
quanquan1 committed Aug 26, 2024
1 parent a9d3725 commit f29e191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion affirm/src/main/java/com/affirm/android/PromoRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public String url() {
builder.appendQueryParameter(PROMO_LOGO_TYPE, affirmLogoType.getType());
if (items != null) {
builder.appendQueryParameter(PROMO_ITEMS,
Uri.encode(AffirmPlugins.get().gson().toJson(items))
AffirmPlugins.get().gson().toJson(items)
);
}
builder.appendQueryParameter(PROMO_LOCALE, AffirmPlugins.get().locale());
Expand Down

0 comments on commit f29e191

Please sign in to comment.