cinely / mule-uploader

Stubborn HTML5 Amazon S3 uploader
http://mule-uploader.com/
MIT License
223 stars 43 forks source link

UTC dates produced by PHP through format('c') or format('r') fails on 1.1.0 #71

Closed abuisine closed 7 years ago

abuisine commented 8 years ago

It appears that dates ending with +00:00 or +0000 are not considered as UTC times by the code added in 1.1.0. This triggers the addition of a Z at the end of the date string, which consequently prevents a correct javascript date parsing. We end up with an invalid date in the auth object, preventing any correct negotiation with amazon