Ticket #461 (closed defect: invalid)

Opened 7 years ago

Last modified 1 month ago

Apostrophe / quote in category name causes categories to disappea

Reported by: jsheth Assigned to: jsheth
Priority: normal Milestone: 0.4.8
Component: not categorised Severity: normal
Keywords: Cc:

Description

If you add a category with an apostrophe in its name, such as "What's New", the whole list of categories disappears from the manage categories and 'Articles' screens. I think there is a bug in the code that builds the nested set categories from the information in the category table. To make the list of categories reappear, just edit the name of the category in the category table manually, to remove the apostrophe. Then the list will come back.

Solution: sanitize / escape input.

Change History

01/03/13 12:04:03 changed by demian

  • status changed from new to closed.
  • resolution set to invalid.