You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2024/01/26 15:16:06 UTC

(camel) branch main updated: https://github.com/apache/camel-spring-boot/security/secret-scanning/4

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

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new a4598b9d7f9 https://github.com/apache/camel-spring-boot/security/secret-scanning/4
a4598b9d7f9 is described below

commit a4598b9d7f9648251ee58261a17eace61fec3770
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Jan 26 16:15:39 2024 +0100

    https://github.com/apache/camel-spring-boot/security/secret-scanning/4
---
 core/camel-util/src/test/java/org/apache/camel/util/URISupportTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/camel-util/src/test/java/org/apache/camel/util/URISupportTest.java b/core/camel-util/src/test/java/org/apache/camel/util/URISupportTest.java
index d354b771a5b..3849dfa80a7 100644
--- a/core/camel-util/src/test/java/org/apache/camel/util/URISupportTest.java
+++ b/core/camel-util/src/test/java/org/apache/camel/util/URISupportTest.java
@@ -262,7 +262,7 @@ public class URISupportTest {
 
     @Test
     public void testSanitizeAuthorizationToken() throws Exception {
-        String out1 = URISupport.sanitizeUri("telegram:bots?authorizationToken=1234567890:AABBCOhEaqprrk6qqQtsSPFYS3Njgv2ljW2");
+        String out1 = URISupport.sanitizeUri("telegram:bots?authorizationToken=1234567890:XXAuthTokenHereXX");
         assertEquals("telegram:bots?authorizationToken=xxxxxx", out1);
     }