<dl class="wide">
<dd>
- <textarea id="reason" required="required" cols="60" rows="10" class="jsReportMessage"></textarea>
+ <textarea id="reason" required="required" cols="60" rows="10" class="jsReportMessage" maxlength="64000"></textarea>
<small>{lang}wcf.moderation.report.reason.description{/lang}</small>
</dd>
</dl>
WCF::getSession()->checkPermissions(array('user.profile.canReportContent'));
$this->readString('message');
+ if (mb_strlen($this->parameters['message']) > 64000) {
+ // we allow only up to 64.000 characters (~1.5 below TEXT maximum)
+ $this->parameters['message'] = mb_substr($this->parameters['messages'], 0, 64000);
+ }
$this->validatePrepareReport();
}