From 8eb0183c784865225569da1fa1f91a8038693405 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 7 Aug 2023 06:47:51 -0300 Subject: [PATCH] fix: support for empty strings --- packages/taler-util/src/taleruri.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/taler-util/src/taleruri.ts b/packages/taler-util/src/taleruri.ts index 777cb5245..fff1ca833 100644 --- a/packages/taler-util/src/taleruri.ts +++ b/packages/taler-util/src/taleruri.ts @@ -767,7 +767,7 @@ function getUrlInfo( const qp = new URLSearchParams(); let withParams = false; Object.entries(params).forEach(([name, value]) => { - if (value) { + if (value !== undefined) { withParams = true; qp.append(name, value); }