Commit 8f9b3427 authored by Medicean's avatar Medicean

(Fix:Other) 修复 `jsp_custom_script_for_mysql.jsp` 使用 `base64` 编码器连接数据库时...

(Fix:Other) 修复 `jsp_custom_script_for_mysql.jsp` 使用 `base64` 编码器连接数据库时 `characterEncoding` 二次解码导致的无法识别的问题 #171
parent e71f22d0
......@@ -12,6 +12,10 @@
* 解码器解码后, 增加猜解字符编码流程
### 其它
* 修复 `jsp_custom_script_for_mysql.jsp` 使用 `base64` 编码器连接数据库时 `characterEncoding` 二次解码导致的无法识别的问题 #171
## 2019/05/13 `v(2.1.2)`
### 核心模块
......
......@@ -24,6 +24,8 @@
已知问题:
1. 文件管理遇到中文文件名显示的问题
ChangeLog:
v1.5
1. 修正 base64 编码器下连接数据库 characterEncoding 出错
v1.4
1. 修正 windows 下基础路径获取盘符会出现小写的情况
v1.3
......@@ -89,7 +91,7 @@ ChangeLog:
conn = (EC(conn));
String[] x = conn.trim().replace("\r\n", "\n").split("\n");
Class.forName(x[0].trim());
String url = x[1] + "&characterEncoding=" + decode(EC(encode),encoder);
String url = x[1] + "&characterEncoding=" +encode;
Connection c = DriverManager.getConnection(url);
Statement stmt = c.createStatement();
ResultSet rs = stmt.executeQuery(sql);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment