gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: no need to URL-decode before Java's UR


From: gnunet
Subject: [libeufin] branch master updated: no need to URL-decode before Java's URL()
Date: Mon, 31 Jan 2022 15:48:51 +0100

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

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 2c78233f no need to URL-decode before Java's URL()
2c78233f is described below

commit 2c78233fd8c4f6e0f6a549bd666a3e9e2fda732d
Author: ms <ms@taler.net>
AuthorDate: Mon Jan 31 15:48:39 2022 +0100

    no need to URL-decode before Java's URL()
---
 util/src/main/kotlin/Payto.kt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/util/src/main/kotlin/Payto.kt b/util/src/main/kotlin/Payto.kt
index 6953a4fe..459d1c55 100644
--- a/util/src/main/kotlin/Payto.kt
+++ b/util/src/main/kotlin/Payto.kt
@@ -29,8 +29,7 @@ private fun getQueryParamOrNull(name: String, params: 
List<Pair<String, String>>
     }
 }
 
-fun parsePayto(paytoInput: String): Payto {
-    val payto = URLDecoder.decode(paytoInput, Charsets.UTF_8)
+fun parsePayto(payto: String): Payto {
     /**
      * This check is due because URIs having a "payto:" prefix without
      * slashes are correctly parsed by the Java 'URI' class.  'mailto'

-- 
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]