diff --git a/core/classes/MantisCoreWikiPlugin.class.php b/core/classes/MantisCoreWikiPlugin.class.php index 4ca71fcb27..7737131e88 100644 --- a/core/classes/MantisCoreWikiPlugin.class.php +++ b/core/classes/MantisCoreWikiPlugin.class.php @@ -71,7 +71,7 @@ function base_url( $p_project_id = null ) { $t_namespace = plugin_config_get( 'root_namespace' ); if( !is_blank( $t_namespace ) ) { - $t_base .= urlencode( $t_namespace ) . ':'; + $t_base .= $t_namespace . ':'; } if( !is_null( $p_project_id ) && $p_project_id != ALL_PROJECTS ) { @@ -130,7 +130,7 @@ function base_url( $p_project_id = null ) { if( !is_null( $p_project_id ) && $p_project_id != ALL_PROJECTS ) { $t_base .= urlencode( project_get_name( $p_project_id ) ) . ':'; } else { - $t_base .= urlencode( plugin_config_get( 'root_namespace' ) ); + $t_base .= plugin_config_get( 'root_namespace' ); } return $t_base; } @@ -185,7 +185,7 @@ function base_url( $p_project_id = null ) { $t_namespace = plugin_config_get( 'root_namespace' ); if( !is_blank( $t_namespace ) ) { - $t_base .= urlencode( $t_namespace ) . '/'; + $t_base .= $t_namespace . '/'; } if( !is_null( $p_project_id ) && $p_project_id != ALL_PROJECTS ) { @@ -244,7 +244,7 @@ function base_url( $p_project_id = null ) { $t_namespace = ucfirst( plugin_config_get( 'root_namespace' ) ); if( !is_blank( $t_namespace ) ) { - $t_base .= urlencode( $t_namespace ); + $t_base .= $t_namespace; } if( !is_null( $p_project_id ) && $p_project_id != ALL_PROJECTS ) { @@ -303,7 +303,7 @@ function base_url( $p_project_id = null ) { if( !is_null( $p_project_id ) && $p_project_id != ALL_PROJECTS ) { $t_base .= urlencode( project_get_name( $p_project_id ) ) . '/'; } else { - $t_base .= urlencode( plugin_config_get( 'root_namespace' ) ); + $t_base .= plugin_config_get( 'root_namespace' ); } return $t_base; }