View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0026984 | mantisbt | api rest | public | 2020年05月24日 18:03 | 2026年08月22日 14:06 |
| Reporter | vboctor | Assigned To | vboctor | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 2.24.1 | ||||
| Target Version | 2.29.0 | Fixed in Version | 2.29.0 | ||
| Summary | 0026984: REST APIs allows new lines in issue summary field | ||||
| Description | This is not allowed by the UI and is not handled consistently. For example:
Hence, the REST API should block use of multi-line summary fields. | ||||
| Tags | No tags attached. | ||||
Do we need some kind of cleanup task to remove newlines, or maybe an admin check ?
PR: https://github.com/mantisbt/mantisbt/pull/2261
I created a fix to stop this from happening - given that this is unlikely to happen or be done by the API caller, I didn't think it is worth adding a migration.
Powered by MantisBT 2.29.0-dev-master-e4ff7ef87
Copyright © 2000 - 2026 MantisBT Team
Contact administrator for assistance
Copyright © 2000 - 2026 MantisBT Team
Contact administrator for assistance
Page execution time: 0.3800 seconds