View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0008750 | mantisbt | bugtracker | public | 2008-01-15 10:54 | 2008-01-19 04:25 |
| Reporter | thansen | Assigned To | vboctor | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | duplicate | ||
| Product Version | 1.1.0 | ||||
| Summary | 0008750: $g_path incorrectly initialized in config_defaults_inc.php when stripos returns false | ||||
| Description | $t_path is incorrectly cleared when mantis lives in a subdir with the same strlen as $t_soap_api_path. (Ie. /mantisbt and /api/soap are the same length) causing all links using $g_path/%path% to be wrong. A quick fix (no taking bug 0008749 into account) was to use the === comparison operator to make sure both type and value matches. if ( $t_soap_api_path_pos === ( strlen( $t_path ) - strlen( $t_soap_api_path ) ) ) { | ||||
| Tags | No tags attached. | ||||