This is an automated email from the ASF dual-hosted git repository. coheigea pushed a commit to branch 3.4.x-fixes in repository https://gitbox.apache.org/repos/asf/cxf.git
commit b93b600d14edcebe6d2a27b3455b2231485c5526 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 (cherry picked from commit cc3b622410bb67d93447e703199324a36ffd1596) (cherry picked from commit 93d813e9bf33bbb8121f0536c01b1fe378f84e54) --- 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 ed1a1cc..22bb96f 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); }
