Opened 8 years ago
Closed 8 years ago
#38465 closed defect (bug) (fixed)
`hide_empty` is not sanitized correctly in terms controller
Reported by: | websupporter | Owned by: | rachelbaker |
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | normal | Version: | 4.7 |
Component: | REST API | Keywords: | has-unit-tests has-patch |
Focuses: | Cc: |
Description
The terms controller currently does not sanitize the boolean hide_empty
. So, if you do categories/hide_empty=false
, you will hide them, because the (bool) "false"
is true
.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Add sanitization and unit test