Files
freeipa/ipalib
Petr Viktorin e9d68a7b00 Don't crash when searching with empty relationship options
Empty sequences (and sequences of empty strings) are normalized
to None, but the member filter code expected a list.
This patch extends a test for missing options to also catch
false values.
The functional change is from `if param_name in options:` to
`if options.get(param_name):`; the rest of the patch is code
de-duplication and tests.

These are CSV params with csv_skipspace set, so on the CLI, empty
set is given as a string with just spaces and commas (including
the empty string).

https://fedorahosted.org/freeipa/ticket/2479
2012-03-13 23:28:53 -04:00
..
2012-01-20 08:13:44 +01:00
2011-04-21 10:41:29 +02:00
2010-12-20 17:19:53 -05:00
2012-03-07 18:53:01 +01:00
2012-01-20 08:13:44 +01:00
2011-01-25 14:01:36 -05:00