Relationship Graph
View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0036861 | mantisbt | other | public | 2026-02-02 10:57 | 2026-05-14 14:07 |
| Reporter | raspopov | Assigned To | community | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 2.28.0 | ||||
| Target Version | 2.29.0 | Fixed in Version | 2.29.0 | ||
| Summary | 0036861: Non-optimal verification of uploaded files | ||||
| Description | If you try to upload invalid files on the issue creation page (for example, those specified in the | ||||
| Additional Information | This occurs because the issue validation process in the | ||||
| Tags | No tags attached. | ||||
|
PR: https://github.com/mantisbt/mantisbt/pull/2176
|
|
|
MantisBT: master b7741aa5 2026-02-03 10:11 Committer: dregad Details Diff |
Optimize the verification of uploaded files - Verification code is collected in one place inside the file_ensure_uploaded() function. - Added checks to the IssueFileAddCommand and IssueNoteAddCommand commands. - Extended checking for web server upload errors. - Tests for the file_ensure_uploaded() function have been added. - Add file name to exception messages. Fixes 0036861, PR https://github.com/mantisbt/mantisbt/pull/2176 |
Affected Issues 0036861 |
|
| mod - core/commands/IssueAddCommand.php | Diff File | ||
| mod - core/commands/IssueFileAddCommand.php | Diff File | ||
| mod - core/commands/IssueNoteAddCommand.php | Diff File | ||
| mod - core/file_api.php | Diff File | ||
| mod - proj_doc_update.php | Diff File | ||
| add - tests/Mantis/AntispamApiTest.php | Diff File | ||
| add - tests/Mantis/FileApiTest.php | Diff File | ||
related to
child of
duplicate of