View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0030541 | mantisbt | documentation | public | 2022-06-10 16:30 | 2022-06-24 04:05 |
Reporter | TomekAP | Assigned To | dregad | ||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.13.0 | ||||
Target Version | 2.25.5 | Fixed in Version | 2.25.5 | ||
Summary | 0030541: Impossibility of deleting attachment with form security validation turned on | ||||
Description |
| ||||
Tags | No tags attached. | ||||
Regression introduced by MantisBT master 87ec8b45 |
|
@TomekAP testing and feedback on the proposed fix would be appreciated. |
|
@dregad works as expected, thank you |
|
MantisBT: master 87ec8b45 2018-02-12 13:00 Details Diff |
<form> not allowed in <span> context Use print_link_button() instead of print_form_button(). This allows keeping the <span>, which is used to float the buttons to the right. |
Affected Issues 0030541 |
|
mod - proj_doc_page.php | Diff File | ||
MantisBT: master-2.25 abafd6b4 2022-06-11 06:30 Details Diff |
Use standard table layout for proj_doc_page.php Previously the files were presented with a hybrid layout using floating <span> blocks within a table cell. The Use of print_form_buttons() within the span tag generated invalid HTML, a problem that was fixed in 87ec8b45bca75ade53150f1f4b669604b71a67ad but that commit introduced a regression because the CSRF token was not passed on so it was no longer possible to delete documents. We now switch to a fully tabular layout, moving the data within the spans (project, creation date, action buttons) to their own columns and adjust the markup to align to standard MantisBT UI. Fixes 0030541 |
Affected Issues 0030541 |
|
mod - proj_doc_page.php | Diff File |