More XSS
这个提交包含在:
父节点
14d0dd94ef
当前提交
523d6b4560
共有 1 个文件被更改,包括 8 次插入 和 8 次删除
|
|
@ -91,15 +91,15 @@ class User_Model extends CI_Model {
|
|||
// Check that the user isn't already used
|
||||
if(!$this->exists($username)) {
|
||||
$data = array(
|
||||
'user_name' => $username,
|
||||
'user_name' => xss_clean($username),
|
||||
'user_password' => $this->_hash($password),
|
||||
'user_email' => $email,
|
||||
'user_type' => $type,
|
||||
'user_firstname' => $firstname,
|
||||
'user_lastname' => $lastname,
|
||||
'user_callsign' => $callsign,
|
||||
'user_locator' => $locator,
|
||||
'user_timezone' => $timezone
|
||||
'user_email' => xss_clean($email),
|
||||
'user_type' => xss_clean($type),
|
||||
'user_firstname' => xss_clean($firstname),
|
||||
'user_lastname' => xss_clean($lastname),
|
||||
'user_callsign' => xss_clean($callsign),
|
||||
'user_locator' => xss_clean($locator),
|
||||
'user_timezone' => xss_clean($timezone)
|
||||
);
|
||||
|
||||
// Check the password is valid
|
||||
|
|
|
|||
正在加载…
在新工单中引用