mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 09:15:19 +00:00
Merge pull request #356 from solstag/signature_edit_fix
properly trims edited posts before signing so signature verification …
This commit is contained in:
commit
45d66657d7
1 changed files with 2 additions and 2 deletions
|
@ -343,8 +343,8 @@ function item_post(&$a) {
|
|||
$coord = $orig_post['coord'];
|
||||
$verb = $orig_post['verb'];
|
||||
$app = $orig_post['app'];
|
||||
$title = $_REQUEST['title'];
|
||||
$body = $_REQUEST['body'];
|
||||
$title = escape_tags(trim($_REQUEST['title']));
|
||||
$body = trim($_REQUEST['body']);
|
||||
$item_flags = $orig_post['item_flags'];
|
||||
|
||||
// force us to recalculate if we need to obscure this post
|
||||
|
|
Loading…
Reference in a new issue