From e01890b792021815b5ac2228b9a0d9e68ab50737 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Thu, 11 Sep 2025 16:15:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AF=B9=E6=8E=A5=20SQLBot=20=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=20AES=20=E5=8A=A0=E5=AF=86=E5=AF=B9=E7=9F=AD=20IV=20?= =?UTF-8?q?=E8=A1=A5=E5=85=85=E9=80=BB=E8=BE=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/dataease/dataset/manage/DatasetSQLBotManage.java | 2 +- de-xpack | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-backend/src/main/java/io/dataease/dataset/manage/DatasetSQLBotManage.java b/core/core-backend/src/main/java/io/dataease/dataset/manage/DatasetSQLBotManage.java index 4577681cb6..ea24e8d52a 100644 --- a/core/core-backend/src/main/java/io/dataease/dataset/manage/DatasetSQLBotManage.java +++ b/core/core-backend/src/main/java/io/dataease/dataset/manage/DatasetSQLBotManage.java @@ -101,7 +101,7 @@ public class DatasetSQLBotManage { iv = iv.substring(0, 16); } if (len < 16) { - iv = String.format("%-" + (16 - len) + "s", iv).replace(' ', '0'); + iv = String.format("%-16s", iv).replace(' ', '0'); } return AesUtils.aesEncrypt(text, aesKey, iv); } diff --git a/de-xpack b/de-xpack index af7ff2ec77..281eae2b1e 160000 --- a/de-xpack +++ b/de-xpack @@ -1 +1 @@ -Subproject commit af7ff2ec77301fdd810bd92127b2e1aa18ba7376 +Subproject commit 281eae2b1ea6983379ac7c9bd2f6147794c9065c