提交 7b41b960 authored 作者: Thomas Mueller's avatar Thomas Mueller

The H2 Console replaced an empty user name with a single space.

上级 2f12cce5
...@@ -651,11 +651,11 @@ class WebThread extends Thread implements DatabaseEventListener { ...@@ -651,11 +651,11 @@ class WebThread extends Thread implements DatabaseEventListener {
if (info == null) { if (info == null) {
info = new ConnectionInfo(); info = new ConnectionInfo();
} }
session.put("setting", PageParser.escapeHtml(setting)); session.put("setting", PageParser.escapeHtmlData(setting));
session.put("name", PageParser.escapeHtml(setting)); session.put("name", PageParser.escapeHtmlData(setting));
session.put("driver", PageParser.escapeHtml(info.driver)); session.put("driver", PageParser.escapeHtmlData(info.driver));
session.put("url", PageParser.escapeHtml(info.url)); session.put("url", PageParser.escapeHtmlData(info.url));
session.put("user", PageParser.escapeHtml(info.user)); session.put("user", PageParser.escapeHtmlData(info.user));
return "index.jsp"; return "index.jsp";
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论