Validate params of config_get()
Bug #1152331 reported by
Federico Razzoli
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
STK-Unit |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
If we put invalid values for config options, unexpected behavior can happen. So we need to tell the user a clear error message whenever he tries to assign an invalid value.
* dbug, show_err are booleans; valid values: 1, 0, on, off, yes, no (case insensitive)
* out_format: text, html
Valid booleans must be converted to 0 or 1, so we dont need to modify other procedures.
tags: | added: api |
tags: | added: notest |
Changed in stk-unit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed: rev 32