Relationship Graph
View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0037132 | mantisbt | api rest | public | 2026-05-15 05:29 | 2026-05-16 12:54 |
| Reporter | piotr.dudkiewicz | Assigned To | dregad | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | duplicate | ||
| Product Version | 2.28.0 | ||||
| Summary | 0037132: UI renders incorrectly in CSS1Compat mode after removing UTF-8 BOM; works only in BackCompat/quirks mode | ||||
| Description | Hello, after enabling and testing the REST API in MantisBT 2.28, I found an issue related to page rendering mode. Environment:
Problem: RuntimeException: Unexpected data in output buffer. Maybe you have characters before an opening <?php tag? After investigation, I found that config/custom_strings_inc.php contained a UTF-8 BOM at the beginning of the file. With BOM present:
After removing BOM:
I tested the following:
Expected result:
Actual result: Temporary workaround: Question: | ||||
| Tags | No tags attached. | ||||
|
Thanks for the report. Since the |
|
|
It has been clearly documented for many years that config files must be encoded in UTF-8 without BOM. I'm therefore closing this as duplicate of 0022143. We do have an open issue to improve the admin checks to detect such problems (see 0022144). As for the display issues you mention, I suspect they are caused by caching or some other local issue. Using custom config files works just fine here. |
|
related to
child of
duplicate of