mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-16 04:50:09 -04:00
XSS clean the license text (#359)
This commit is contained in:
@@ -104,6 +104,8 @@ class Config extends Secure_Controller
|
||||
$license[$i]['text'] .= "\n";
|
||||
}
|
||||
}
|
||||
|
||||
$license[$i]['text'] = $this->xss_clean($license[$i]['text']);
|
||||
}
|
||||
|
||||
return $license;
|
||||
|
||||
Reference in New Issue
Block a user