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. |
|