'Internet Explorer 6 transmits the full file name if a file is
uploaded.  This function strips the full path if it thinks the
filename is Windows-like absolute.'

def _fix_ie_filename(self, filename):

    if ((filename[1:3] == ':\\') or (filename[:2] == '\\\\')):
        return filename.split('\\')[(-1)]
    return filename
