mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-01-09 00:20:08 +00:00
Strip Crap :D
This commit is contained in:
parent
e2a0c209eb
commit
94aec081ba
@ -45,7 +45,7 @@ public function readData() {
|
||||
public function readFormParameters() {
|
||||
parent::readFormParameters();
|
||||
|
||||
if (isset($_REQUEST['text'])) $this->message = StringUtil::trim($_REQUEST['text']);
|
||||
if (isset($_REQUEST['text'])) $this->message = \wcf\util\MessageUtil::stripCrap(StringUtil::trim($_REQUEST['text']));
|
||||
if (isset($_REQUEST['smilies'])) $this->enableSmilies = intval($_REQUEST['smilies']);
|
||||
}
|
||||
|
||||
|
@ -19,6 +19,7 @@
|
||||
<requiredpackage minversion="2.0.0 Alpha 1">com.woltlab.wcf</requiredpackage>
|
||||
<requiredpackage minversion="1.0.0 Alpha 1">com.woltlab.wcf.bbcode</requiredpackage>
|
||||
<requiredpackage minversion="1.0.0 Alpha 1">com.woltlab.wcf.acl</requiredpackage>
|
||||
<requiredpackage minversion="1.0.0 Alpha 1">com.woltlab.wcf.message</requiredpackage>
|
||||
</requiredpackages>
|
||||
|
||||
<instructions type="install">
|
||||
|
Loading…
Reference in New Issue
Block a user