def encode_extension_av(data, quote=default_extension_quote):
 if (not data):
  return ''
 return quote(data)

def encode_extension_av ( data , quote = default_extension_quote ) : if ( not data ) : return '' return quote ( data )
url-encode strings to make them safe for an extension-av : <any char except ctls or ";"> .