Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
This commit is contained in:
commit
737f660011
@ -2965,7 +2965,9 @@ function item_url_replace($channel,&$item,$old,$new,$oldnick = '') {
|
|||||||
json_url_replace('/' . $oldnick . '/' ,'/' . $channel['channel_address'] . '/' ,$item['target']);
|
json_url_replace('/' . $oldnick . '/' ,'/' . $channel['channel_address'] . '/' ,$item['target']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(string_replace($old,$new,$item['body'])) {
|
$x = preg_replace("/".preg_quote($old,'/')."\/(search|\w+\/".$channel['channel_address'].")/", $new.'/${1}', $item['body']);
|
||||||
|
if($x) {
|
||||||
|
$item['body'] = $x;
|
||||||
$item['sig'] = base64url_encode(rsa_sign($item['body'],$channel['channel_prvkey']));
|
$item['sig'] = base64url_encode(rsa_sign($item['body'],$channel['channel_prvkey']));
|
||||||
$item['item_verified'] = 1;
|
$item['item_verified'] = 1;
|
||||||
}
|
}
|
||||||
|
24636
view/ru/hmessages.po
24636
view/ru/hmessages.po
File diff suppressed because it is too large
Load Diff
5410
view/ru/hstrings.php
5410
view/ru/hstrings.php
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user