Ticket #806 (closed defect: fixed)
Opened 8 years ago
Last modified 7 years ago
Milestone names need special character handling
| Reported by: | Brad Anderson <brad@…> | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.9 |
| Component: | roadmap | Version: | devel |
| Severity: | normal | Keywords: | |
| Cc: | nepo@… | ||
| Release Notes: | |||
| API Changes: | |||
Description
I am using revision 940 and was able to create a problem with the milestone name having a special character. My milestone name was:
Flavors / Qty issue
and after changing it to
Flavors-Qty issue
everything worked just fine.
Attachments
Change History
comment:1 Changed 8 years ago by Brad Anderson <brad@…>
comment:2 Changed 8 years ago by cmlenz
- Status changed from new to assigned
I think the only solution to this problem would be to forbid the path separator / in milestone names. It already gets encoded properly, but it looks like Apache still parses it as a path separator and throws a generic 404… not sure why though, as Trac should be handling the request anyway.
comment:3 Changed 8 years ago by cmlenz
- Milestone set to 0.8
- Resolution set to fixed
- Status changed from assigned to closed
Fixed in [948].
comment:4 Changed 7 years ago by Norbert Unterberg <nepo@…>
- Cc nepo@… added
- Milestone changed from 0.8 to 0.8.1
- Resolution fixed deleted
- Status changed from closed to reopened
Edit Milestone in the web interface fails when the milestone name contains a forward slash "/".
Steps to reproduce:
- In your web browser, go to Roadmap view.
- Create a new milestone named "test/test" and hit the Add Milestone button.
- The browser now displays the new milestone.
- Hit the Edit Milestone Info button.
- The broser displays the New Milestone instead the Edit Milestone window.
comment:5 Changed 7 years ago by cmlenz
- Milestone changed from 0.8.1 to 0.9
- Resolution set to fixed
- Status changed from reopened to closed
As far as I can tell, this problem isn't present in 0.8.
For trunk, it should be fixed in [1245].



Sorry, I'll add more now so you can duplicate it.
The error shows up when you are viewing the first page in the Roadmap module, and attempt to click on a milestone hyperlink to drill into the Milestone module and list the tickets.
I was unable to edit the milestone name, because I couldn't get to the milestone page. So I had to do it in the sqlite database.