Fix bug: Attachment URL not downloading file