Commits

Anonymous committed 08f699c

处理输入 空格 转义

Comments (0)

Files changed (1)

 			user=USER[0]
 			NowTerm=db.get(db.get(user).nowterm)
 			KCB = kcb()
-			KCB.name=self.request.get('additem')
+			KCB.name=cgi.escape(self.request.get('additem')).replace(' ','')
 			KCB.term = NowTerm
 			KCB.type=True
 			KCB.settime=getCNnow()