View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0026110 | mantisbt | administration | public | 2019-09-04 08:37 | 2020-02-18 03:21 |
Reporter | kuz30 | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 2.22.0 | ||||
Target Version | 2.22.1 | Fixed in Version | 2.22.1 | ||
Summary | 0026110: [Show content] for Complex Configuration option doesn't work when mod_rewrite is disabled | ||||
Description | Standalone production MantisBT with default configuration. | ||||
Steps To Reproduce |
| ||||
Additional Information | Workaround possible if you click | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Can you please check if there is any output (errors) in the browser's console ? I faced a similar issue in the past in a plugin (see https://github.com/mantisbt-plugins/Snippets/issues/31). Can you try modifiying |
|
Web server is Apache/2.4.7 (Ubuntu). Your proposed modification resolves an issue. |
|
@kuz30 thanks for the feedback. I'll implement the proposed change in core as I think that internal REST API call need to work regardless of the webserver's configuration. That being said, there is something wrong with your configuration. If you're planning to use the REST API externally, you'll need to sort this out otherwise the expected "nice" URLS like http://path.to/mantis/api/rest/<endpoint> will not work and you'll need to add the Note: the mod rewrite configuration is handled via an .htaccess file. Maybe your webserver config is blocking that. |
|
MantisBT: master c4a2cdd9 2019-09-04 07:30 Details Diff |
Use REST API full path (with index.php) On web servers where URL rewriting is not properly configured, calling REST API with the "short" URL, e.g. http://my.mantis/rest/api/issues does not work. To make sure that core functionality relying on REST calls (via the 'internal' route) is working is expected even when URL rewriting is not operational, we use the full path including the index.php file: http://my.mantis/rest/api/index.php/internal/... Fixes 0026110 |
Affected Issues 0026110 |
|
mod - js/adm_config_report.js | Diff File | ||
mod - js/common.js | Diff File | ||
MantisBT: master-2.22 a7413daa 2019-09-04 07:30 Details Diff |
Use REST API full path (with index.php) On web servers where URL rewriting is not properly configured, calling REST API with the "short" URL, e.g. http://my.mantis/rest/api/issues does not work. To make sure that core functionality relying on REST calls (via the 'internal' route) is working is expected even when URL rewriting is not operational, we use the full path including the index.php file: http://my.mantis/rest/api/index.php/internal/... Fixes 0026110 (cherry picked from commit c4a2cdd9d8d443a84287756959f595728a1524c9) |
Affected Issues 0026110 |
|
mod - js/adm_config_report.js | Diff File | ||
mod - js/common.js | Diff File |