This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new cc3b622  Fixed a bug in Base64Utility not passing the urlSafe parameter
cc3b622 is described below

commit cc3b622410bb67d93447e703199324a36ffd1596
Author: Colm O hEigeartaigh <[email protected]>
AuthorDate: Wed Jan 26 15:43:56 2022 +0000

    Fixed a bug in Base64Utility not passing the urlSafe parameter
---
 core/src/main/java/org/apache/cxf/common/util/Base64Utility.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/java/org/apache/cxf/common/util/Base64Utility.java 
b/core/src/main/java/org/apache/cxf/common/util/Base64Utility.java
index 043eba7..c4f6531 100644
--- a/core/src/main/java/org/apache/cxf/common/util/Base64Utility.java
+++ b/core/src/main/java/org/apache/cxf/common/util/Base64Utility.java
@@ -251,7 +251,7 @@ public final class Base64Utility {
     }
 
     public static String encode(byte[] id, boolean urlSafe) {
-        char[] cd = encodeChunk(id, 0, id.length);
+        char[] cd = encodeChunk(id, 0, id.length, urlSafe);
         return new String(cd, 0, cd.length);
     }
 

Reply via email to