Fixed bug mentioned in issue #886 #865 #862
Fixed bug of attachment download
Merge pull request #869 from linzongshu/develop

Fixed bug mentioned in issue #886 #865 #862