View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0036915 | mantisbt | bugtracker | public | 2026-03-06 12:50 | 2026-04-08 18:46 |
| Reporter | dregad | Assigned To | dregad | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Target Version | 2.29.0 | Fixed in Version | 2.29.0 | ||
| Summary | 0036915: core.php should not return HTTP 200 when aborting due to an error | ||||
| Description | It would be better to exit with an HTTP 500 code, this way the client will know something wrong occurred. If running from cli, we should exit with code 1 instead. | ||||
| Tags | No tags attached. | ||||
|
MantisBT: master e600f44e 2026-03-06 12:28 Details Diff |
core: new fatal_error() function Ensures consistent behavior when an error occurs during MantisBT core initialization. In addition to displaying an error message, we now also return a proper HTTP 500 error code (or 1 if running from CLI). Fixes 0036915 |
Affected Issues 0036915 |
|
| mod - core.php | Diff File | ||