@staticmethod<EOL><INDENT>def get_encoded_parameter(get_data, name, default=None, lowercase_urlencoding=False):<DEDENT>
if name not in get_data:<EOL><INDENT>return OneLogin_Saml2_Utils.case_sensitive_urlencode(default, lowercase_urlencoding)<EOL><DEDENT>if '<STR_LIT>' in get_data:<EOL><INDENT>return OneLogin_Saml2_Utils.extract_raw_query_parameter(get_data['<STR_LIT>'], name)<EOL><DEDENT>return OneLogin_Saml2_Utils.case_sensitive_urlencode(get_data[name], lowercase_urlencoding)<EOL>
Return a URL encoded get parameter value
        Prefer to extract the original encoded value directly from query_string since URL
        encoding is not canonical. The encoding used by ADFS 3.0 is not compatible with
        python's quote_plus (ADFS produces lower case hex numbers and quote_plus produces
        upper case hex numbers)