1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

fixes #3244 "&" in url definition was broken during parse_str()

This commit is contained in:
Achim Ennenbach 2018-07-21 11:44:42 +02:00
parent 4773186a50
commit 5f0ee53c00

View File

@ -46,8 +46,8 @@ class forum_url // plugin-folder + '_url'
$config['markread'] = array(
'sef' => '^forum/markread/{forum_id}',
'regex' => 'forum/markread/([\d]*)',
'redirect' => '{e_PLUGIN}forum/forum.php?f=mfar&id=$1',
'legacy' => '{e_PLUGIN}forum/forum.php?f=mfar&id={forum_id}'
'redirect' => '{e_PLUGIN}forum/forum.php?f=mfar&id=$1',
'legacy' => '{e_PLUGIN}forum/forum.php?f=mfar&id={forum_id}'
);
$config['post'] = array(
@ -58,15 +58,15 @@ class forum_url // plugin-folder + '_url'
// only create url - parsed above.
$config['move'] = array(
'sef' => 'forum/post/?f=move&id={thread_id}',
'legacy' => '{e_PLUGIN}forum/forum_post.php?f=move&id={thread_id}'
'sef' => 'forum/post/?f=move&id={thread_id}',
'legacy' => '{e_PLUGIN}forum/forum_post.php?f=move&id={thread_id}'
);
$config['split'] = array(
'sef' => 'forum/post/?f=split&id={thread_id}&post={post_id}',
'legacy' => '{e_PLUGIN}forum/forum_post.php?f=split&id={thread_id}&post={post_id}'
'sef' => 'forum/post/?f=split&id={thread_id}&post={post_id}',
'legacy' => '{e_PLUGIN}forum/forum_post.php?f=split&id={thread_id}&post={post_id}'
);
$config['topic'] = array(