mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/security/244] Add parse_attachment form token check to posting.php
SECURITY-244
This commit is contained in:
parent
56477a8f7c
commit
6c8d006336
1 changed files with 4 additions and 1 deletions
|
@ -974,7 +974,10 @@ if ($submit || $preview || $refresh)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Parse Attachments - before checksum is calculated
|
// Parse Attachments - before checksum is calculated
|
||||||
|
if ($message_parser->check_attachment_form_token($language, $request, 'posting'))
|
||||||
|
{
|
||||||
$message_parser->parse_attachments('fileupload', $mode, $forum_id, $submit, $preview, $refresh);
|
$message_parser->parse_attachments('fileupload', $mode, $forum_id, $submit, $preview, $refresh);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This event allows you to modify message text before parsing
|
* This event allows you to modify message text before parsing
|
||||||
|
|
Loading…
Add table
Reference in a new issue