akasurde / freeipa

Forked from freeipa 7 years ago
Clone

3738a61 Only split CSV in the client, quote instead of escaping

9 files Authored by pviktori 12 years ago, Committed by rcritten 12 years ago,
    Only split CSV in the client, quote instead of escaping
    
    Splitting on commas is not an idempotent operation:
    'a,b\,c' -> ('a', 'b,c') -> ('a', 'b', 'c')
    
    That means we can't do it when the call is forwarded, so this is only
    done on the CLI. The UI already sends values as a tuple.
    
    Replace escaping in the csv parser with quoting. Quoted strings can have
    embedded commas instead of having to escape them. This prevents the csv
    parser from eating all escape characters.
    
    Also, document Param's csv arguments, and update tests.
    
    https://fedorahosted.org/freeipa/ticket/2417
    https://fedorahosted.org/freeipa/ticket/2227
    
        
file modified
+2 -1
file modified
+20 -0
file modified
+41 -11