Score
0
Watch 143 Star 416 Fork 190

xiaochun / zrlogJavaApache-2.0

网站标题存在单引号时后台报错,类似xxx's yyy

Closed
Lintel  Opened this issue

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Blog',NULL),('second_title','',NULL),('home','……',NULL),('zrlo' at line 1

10568 94fzb 1578914711 591923 lintel 1578928573 total 2 participants

Comments (3)

10568 94fzb 1578914711
xiaochun 2018-02-26 17:56 owner

嗯,问题确定了,应该是 InstallService.initWebSite 这个方法没有使用 ? 传参导致的 @Lintel

591923 lintel 1578928573
Lintel 2018-02-28 10:42

@xiaochun 安装的时候填写网站标题会这样

Sign in to comment

Assignees
Labels
Not set
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority
Java
1
https://gitee.com/94fzb/zrlog.git
git@gitee.com:94fzb/zrlog.git
94fzb
zrlog
zrlog

Search

231008 48f1a665 1899542 231017 9a6720c6 1899542