View Issue Details

IDProjectCategoryView StatusLast Update
0017871mantisbtwikipublic2018-06-03 06:06
Reporterdavidnewcomb Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version1.2.17 
Summary0017871: The wiki link into mediawiki incorrectly urlencodes the project name
Description

Clicking the Wiki navigation link adds the wrong characters into the wiki link.

If the project name has a space then the Mediawiki link has a plus in it e.g. My+Project. Plus is a valid Mediawiki character so the title of the page incorrectly contains the plus as well.

Changes: core/classes/MantisCoreWikiPlugin.class.php

        function base_url( $p_project_id=null ) {
                $t_base = plugin_config_get( 'engine_url' ) . 'index.php/';
                if ( !is_null( $p_project_id ) && $p_project_id != ALL_PROJECTS ) {
                        //$t_base .= urlencode( project_get_name( $p_project_id ) ) . ':';
--->                    $t_base .= project_get_name( $p_project_id ) . ':';
                } else {
                        $t_base .= urlencode( plugin_config_get( 'root_namespace' ) );
                }
                return $t_base;
        }
TagsNo tags attached.

Relationships

related to 0024496 closedcommunity URL encoding precludes reasonable wiki root_namespace values 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2014-11-13 20:44 davidnewcomb New Issue
2014-11-13 20:44 davidnewcomb Status new => assigned
2014-11-13 20:44 davidnewcomb Assigned To => vboctor
2018-06-03 06:01 dregad Description Updated View Revisions
2018-06-03 06:06 dregad Relationship added related to 0024496