adonespitogo / angular-base64-upload

Converts files from file input into base64 encoded models.
283 stars 121 forks source link

"accept" is always case sensitive #81

Open eekboom opened 8 years ago

eekboom commented 8 years ago

I have configured the my upload field to accept MS Word files: <input type="file" name="file" ng-model="vm.file" base-sixty-four-input accept=".doc, .docx"> Unfortunately that prevents upload files with upper case characters in the extension like some.DOC or another.Doc. (For some reason our users have lots of word documents with .DOC suffix.)

Ideas:

mahavir2013 commented 6 years ago

We need a fix here I think. Same issue for me also.