(filename)
return os.path.basename(filename)
Sanitize the "filename" value from a Content-Disposition header.
Sanitize the "filename" value from a Content-Disposition header.
Sanitize the filename value from a Content - Disposition header .
def sanitize_content_filename(filename):
    # type: (str) -> str
    """
    Sanitize the "filename" value from a Content-Disposition header.
    """
    return os.path.basename(filename)
def sanitize_content_filename ( filename ) : # type: (str) -> str return os . path . basename ( filename )