def url_to_dict(params):
    paramdict = OrderedDict()
    for keyword_value_pair in params.split(';'):
        (keyword, values) = keyword_value_pair.split('=')
        paramdict[str(keyword)] = []
        for value in values.split(','):
            paramdict[keyword].append(str(value))
    return paramdict
Return a dict of URL path parameters
dataset/ETHPy150Open F-Secure/mittn/mittn/httpfuzzer/url_params.py/url_to_dict