Configure Calendar submenu doesn't escape inputs well
Bug #672682 reported by
Joshua Blanton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ical |
Fix Released
|
Medium
|
Sergei Golubchik |
Bug Description
The Configure Calendar cascade submenu generation doesn't escape its input well for the calendar title (or filename, if there is no title set). This results in a crash if, for instance, you try to include a calendar with a '.' in its filename and no title.
Attached is a patch that cleans up the case by following the idea laid out in tcllib/menus.tcl - basically, generate a unique index for each menu item that's unrelated to the filename, and use that as the reference to the menu item. I tested it on some simple cases, and it seems to work correctly - but I must admit that my TCL is rusty.
Related branches
Changed in ical-tcl: | |
importance: | Undecided → Medium |
assignee: | nobody → Sergei (sergii) |
Changed in ical-tcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
fixed. thanks!