From 5f0ee53c000dc44eca4f42dcdf531fb43b684427 Mon Sep 17 00:00:00 2001 From: Achim Ennenbach Date: Sat, 21 Jul 2018 11:44:42 +0200 Subject: [PATCH] fixes #3244 "&" in url definition was broken during parse_str() --- e107_plugins/forum/e_url.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/e107_plugins/forum/e_url.php b/e107_plugins/forum/e_url.php index 31cb2b347..9aaeb8ed7 100644 --- a/e107_plugins/forum/e_url.php +++ b/e107_plugins/forum/e_url.php @@ -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(