gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: wallet-core: fix missing enco


From: gnunet
Subject: [taler-wallet-core] branch master updated: wallet-core: fix missing encoding of exchange URLs in task IDs
Date: Tue, 13 Feb 2024 11:41:47 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new c4c89f401 wallet-core: fix missing encoding of exchange URLs in task 
IDs
c4c89f401 is described below

commit c4c89f401431a50a41580aea6b4182277eec7a7f
Author: Florian Dold <florian@dold.me>
AuthorDate: Tue Feb 13 11:41:47 2024 +0100

    wallet-core: fix missing encoding of exchange URLs in task IDs
---
 packages/taler-wallet-core/src/operations/common.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/taler-wallet-core/src/operations/common.ts 
b/packages/taler-wallet-core/src/operations/common.ts
index 460a32666..4c7c55212 100644
--- a/packages/taler-wallet-core/src/operations/common.ts
+++ b/packages/taler-wallet-core/src/operations/common.ts
@@ -934,9 +934,9 @@ export function constructTaskIdentifier(p: 
ParsedTaskIdentifier): TaskId {
     case PendingTaskType.Deposit:
       return `${p.tag}:${p.depositGroupId}` as TaskId;
     case PendingTaskType.ExchangeCheckRefresh:
-      return `${p.tag}:${p.exchangeBaseUrl}` as TaskId;
+      return `${p.tag}:${encodeURIComponent(p.exchangeBaseUrl)}` as TaskId;
     case PendingTaskType.ExchangeUpdate:
-      return `${p.tag}:${p.exchangeBaseUrl}` as TaskId;
+      return `${p.tag}:${encodeURIComponent(p.exchangeBaseUrl)}` as TaskId;
     case PendingTaskType.PeerPullDebit:
       return `${p.tag}:${p.peerPullDebitId}` as TaskId;
     case PendingTaskType.PeerPushCredit:

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]