def dict_to_urlparams(paramdict):
    paramstring = ""
    for keyword in paramdict.keys():
        paramstring += ';' + urllib.quote_plus(keyword) + "="
        first_value = 1
        for value in paramdict[keyword]:
            if not first_value:
                paramstring += ','
            if value is None:  # As a result of injection
                value = ""
            paramstring += urllib.quote_plus(str(value))
            first_value = 0
    return paramstring
Return URL path parameters from a dict
dataset/ETHPy150Open F-Secure/mittn/mittn/httpfuzzer/url_params.py/dict_to_urlparams